Use route provider for action entities

Created on 27 March 2018, over 6 years ago
Updated 23 April 2024, 8 months ago

Problem/Motivation

While working on #2956381: Missing help message when adding new action and Incorrect help message when editing action I noticed inconsistent routes name in aciton module. Action module define 4 routes:

  1. entity.action.collection:
  2. action.admin_add:
  3. entity.action.edit_form:
  4. entity.action.delete_form:

As you can see 3 actions are prefixed with entity while action.admin_add is not prefixed with entity and not in consistent with edit and delete action route name.

Proposed resolution

  1. Discuss if this inconsistent route name are intentional?
  2. Make action.admin_add route name consistent with edit and delete action route.
  3. Discuss if update hook is required for this?

Remaining tasks

  1. Discussion
  2. Write patch

User interface changes

N/A

API changes

Change in add action route name.

Data model changes

N/A

📌 Task
Status

Active

Version

1.0

Component
Action 

Last updated 2 months ago

No maintainer
Created by

🇮🇳India msankhala Bikaner, Rajasthan

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024