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.
| Comment | File | Size | Author |
|---|---|---|---|
| fullcalendar_view.view-plugin.patch | 2.25 KB | johankleene |
Issue fork fullcalendar_view-3350101
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
mingsongThanks Johan.
Comment #6
mingsong