Content Lock should ModuleHandler interface rather than a ModuleHandler

Created on 20 November 2024, 2 months ago

Problem/Motivation

To accommodate other modules that may decorate services, always use interfaces instead of the classes

Steps to reproduce

TypeError: Drupal\content_lock\ContentLock\ContentLock::__construct(): Argument #2 ($moduleHandler) must be of type Drupal\Core\Extension\ModuleHandler, Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler given

🐛 Bug report
Status

Active

Version

2.3

Component

Code

Created by

🇮🇳India kkalashnikov Ghaziabad, India

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

Comments & Activities

Production build 0.71.5 2024