Skip to content

[generate:plugin:action] #2247

Closed
Closed

Description

@naveenvalecha

New feature.
Will work on this and raise a PR

Activity

  1. naveenvalecha commented on May 13, 2016

    @naveenvalecha
    ContributorAuthor

    This was already implemented from the name of rulesaction in #707

  2. JPustkuchen commented on Jan 30, 2022

    @JPustkuchen

    @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:action

    Should I create a separate issue for that or should this one be reopened?

    Furthermore the action dependency should be added:

    dependencies:
      - drupal:action
    
  3. JPustkuchen commented on Jan 30, 2022

    @JPustkuchen

    I now tried this command and don't think @RulesAction is === @action( ... voting for a separate command for Drupal Core Action Plugins!

  4. JPustkuchen commented on Jan 31, 2022

    @JPustkuchen

    My result: Use drush gen plugin-action instead! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions