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.

CommentFileSizeAuthor
fullcalendar_view.view-plugin.patch2.25 KBjohankleene
Command icon 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

JohanKleene created an issue. See original summary.

Mingsong made their first commit to this issue’s fork.

  • Mingsong committed 69b0460f on 5.x
    Issue #3350101: FullCalendarDisplay plugin causes error in combination...
mingsong’s picture

Status: Needs review » Fixed

Thanks Johan.

mingsong’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.