Problem/Motivation
Instantiation of flag action plugins are not possible, as the constructor requires the flag ID and flag action to be set. This makes a generic instantiation impossible, for example at other components where a generic instantiation is performed.
Since any other action plugin I know of can be instantiated without any specific configuration defined, this looks like a bug.
Steps to reproduce
Proposed resolution
The action plugin deriver for flagging actions already contain by definition the flag ID and flag action, therefore it looks like that a sepecific configuration is not required to be passed, and thus could be instantiated if the plugin itself uses that information directly from the definition.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork flag-3322747
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
mxh commentedComment #6
berdirMerged, thanks.