Problem/Motivation
When other modules try to provide information about local tasks, a developer takes a look at or steps through code, local tasks should sport their provider when using getPluginDefinition.
Proposed resolution
Add 'provider' information / index to array in DynamicLocalTasks.php
Issue fork entity_clone-3301132
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 #3
attisanComment #4
jonmcl commentedYes please. Without this fix, this module causes a fatal error with the entity_ui module because that module attempts to get this module's label in the EntityTabListBuilder class.
Completely correct to add provider to tabs created by a derivative plugin.
Comment #5
joachim commentedThis isn't the right fix.
Plugin derivers should add to the $base_plugin_definition that getDerivativeDefinitions() receives, and that will already contain a 'deriver' key -- as well as other useful stuff that you should be using.