ModuleHandlerInterface::getImplementations() usage is deprecated, based on the documentation found in https://www.drupal.org/node/3000490.

Instead ModuleHandlerInterface::invokeAllWith() should be used for hook invocations, or
ModuleHandlerInterface::hasImplementations() to determine if hooks implementations exist.

Issue fork markit-3527972

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

axioteo created an issue. See original summary.

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

vensires’s picture

Version: 1.0.2 » 1.0.x-dev
Status: Active » Needs review
StatusFileSize
new1.05 KB

@axioteo I checked your code and seems to be correct. We already only support Drupal versions greater than 10.2 though, so we don't actually need the compatibility layer. I have done the required change in MR. Uploading patch too.

Please validate it's working as expected and I will gladly generate a new release immediately afterwards.

axioteo’s picture

Version: 1.0.x-dev » 1.0.2
Status: Needs review » Reviewed & tested by the community

Thank you @vensires, I've applied your patch and everything works as expected.

vensires’s picture

  • vensires committed c149d7aa on 1.0.x authored by axioteo
    Issue #3527972 by axioteo: Call to undefined method Drupal\Core\...
vensires’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for your work on this. Merged!

Status: Fixed » Closed (fixed)

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