Problem/Motivation

@Action annotations are deprecated; see change record "Plugin implementations should use PHP attributes instead of annotations".

Proposed resolution

Replace @Action annotations with PHP attributes.

Remaining tasks

Implement.

User interface changes

None.

API changes

None.

Data model changes

None.

Issue fork webform-3628840

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

liam morland created an issue. See original summary.

avinash.jha made their first commit to this issue’s fork.

avinash.jha’s picture

Replaced the @Action annotations with #[Action] PHP attributes in all 10 action plugins in src/Plugin/Action. Plugin IDs, labels, types and confirm_form_route_name values are unchanged, so existing action config is not affected. The attribute is available since Drupal 10.2, and the module already requires ^10.3. Ready for review.

avinash.jha’s picture

Status: Active » Needs review