New feature. Will work on this and raise a PR
Activity
naveenvalecha commentedon May 13, 2016
This was already implemented from the name of rulesaction in #707
JPustkuchen commentedon Jan 30, 2022
@naveenvalecha Just wanted to generate an Action Plugin (like https://git.drupalcode.org/project/examples/-/tree/3.x/modules/action_example). Is "generate:plugin:rules:action" really correct for that?
If yes, I don't think this is a good name, as in Drupal 8/9 the rules module never made it to a stable release, while actions are core!
If it's the same for Rules and for Core actions, the action should be renamed or an alias should be created:
generate:plugin:actionShould I create a separate issue for that or should this one be reopened?
Furthermore the action dependency should be added:
JPustkuchen commentedon Jan 30, 2022
I now tried this command and don't think @RulesAction is === @action( ... voting for a separate command for Drupal Core Action Plugins!
JPustkuchen commentedon Jan 31, 2022
My result: Use
drush gen plugin-actioninstead! :)