FullCalendarDisplay plugin causes error in combination with Hook Event Dispatcher

Created on 24 March 2023, over 1 year ago

Problem/Motivation

Using both Fullcalendar View and Hook Event Dispatcher results in an error:
TypeError: Drupal\fullcalendar_view\Plugin\views\style\FullCalendarDisplay::__construct(): Argument #5 ($module_handler) must be of type Drupal\Core\Extension\ModuleHandler, Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler given, called in /var/www/html/web/modules/contrib/fullcalendar_view/src/Plugin/views/style/FullCalendarDisplay.php on line 113 in Drupal\fullcalendar_view\Plugin\views\style\FullCalendarDisplay->__construct() (line 86 of modules/contrib/fullcalendar_view/src/Plugin/views/style/FullCalendarDisplay.php).

Steps to reproduce

Install both modules and try to save menu changes.

Proposed resolution

Program to interface.

Remaining tasks

Test & review

User interface changes

-

API changes

-

Data model changes

Interface implementation.

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands JohanKleene Helmond

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024