Problem/Motivation

Track the steps needed to remove extension Action from core to contrib. See Remove a core module and move it to a contributed project of the deprecation policy.

The removal of extension Action was approved in #3266458: [Policy] Deprecate Action (UI) module in D10 and move to contrib in D11.

Remaining tasks

  1. Create a child issue, 'Remove Action from core'.
    • The change record for this issue should include a link to recommendations page, https://www.drupal.org/node/3223395#s-Action. (For example, the CR for removing HAL)
    • Tag this issue 'Needs release note.'
    • Remove the extension ;-).
    • Remove references from core/phpstan-baseline.neon.
    • Remove any spelling words specific to the extension from the dictionary
    • Check for references in @todo.
    • Handle migration tests.
      • In all the functional tests in migrate_drupal_ui make sure that Action is not installed. Action should also be removed from the methods getAvailablePaths() and moved to getMissingPaths() in the tests using those methods.
  2. Deprecate the extension in the current minor development branch. If the next major branch is open, the extension can be removed via a separate patch (to avoid dependent patches), otherwise an issue should be opened to remove the extension once the next major branch is open.
  3. Open an issue, 'Ensure that Action does not get special core treatment' in the packages.drupal.org issue queue to ensure that the composer namespace for the contributed project matches the core one after removal. This is to allocate the drupal/Action Composer namespace to contrib extension rather than the core extension.
  4. Manually test upgrading from the core extension to the contrib extension.
  5. Triage core issues for Action in the core queue and move either to the contrib project or the relevant core component.
  6. Move all core documentation for Action to the contrib project.
  7. When the issue in https://www.drupal.org/project/project_composer is Fixed update the documentation with the new Composer command.

Release notes snippet

Comments

quietone created an issue. See original summary.

quietone’s picture

Status: Active » Postponed
gábor hojtsy’s picture

Title: [Meta] Tasks to remove Action » [11.x] [Meta] Tasks to remove Action
Version: 11.0.x-dev » 11.x-dev
Issue tags: +Major version only

There are both major only and minor targeted changes listed here. Not sure how to piece these apart, but moving to "Major versiono only" as per https://www.drupal.org/about/core/blog/new-drupal-core-branching-scheme-... for now.

andypost’s picture

Status: Postponed » Reviewed & tested by the community
Related issues: +#3343369: [meta] Tasks to deprecate Actions UI module

Only points 6 and 7 are left from the list

catch’s picture

Status: Reviewed & tested by the community » Needs review

Do we actually have the removal issue open? That's in step #2 and may end up postponed on #3414563: Add new 10.3.x database dump fixtures, without modules deprecated for removal in 11.x, although not if it's already not installed in the test fixtures.

smustgrave’s picture

Status: Needs review » Needs work

Couldn't find the ticket for the removal. But I would put money down that actions is in the 9.4 fixtures.

andypost’s picture

@smustgrave thanks, filed #3432134: Remove Action UI module

andypost’s picture

smustgrave’s picture

Good call, @quietone did that for tour so I'm less familiar with that one.

andypost’s picture

andypost’s picture

andypost’s picture

Status: Needs work » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Just RTBC the removal,

catch’s picture

Status: Reviewed & tested by the community » Fixed

Removal is in, congrats everyone!

catch’s picture

Status: Fixed » Needs review

Jumped the gun here, we still need:

Triage core issues for Action in the core queue and move either to the contrib project or the relevant core component.
Move all core documentation for Action to the contrib project.

smustgrave’s picture

Luckily there are only 13 issues Action issues

quietone’s picture

Status: Needs review » Needs work

Yes, there is still work to do here. See steps 4+ in the Issue Summary.

andypost’s picture

Status: Needs work » Needs review

Step 4 was done - now 5+

I gonna sort remaining issues - to contrib project or to system module (as owner of config entity) and no idea which core component could be used for core actions (non-configurable)

btw config actions are coming so it will be good follow-up to update docs as only UI part should be moved to contrib module

andypost’s picture

Step 5 done, now needs to split docs (step 6) and probably step 7 already done as composer command showed as valid

smustgrave’s picture

So the only task left is to move over the Actions UI page from core to the contrib?

andypost’s picture

yes

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
quietone’s picture

Status: Reviewed & tested by the community » Fixed

I checked the core and action issue queue and confirmed that the issues have been moved. I checked that the docs have been moved and the URLs are correct. The docs are also in the menu. And #3432135: Ensure that Actions UI does not get special core treatment is done.

I agree that this is complete.

Thanks everyone for keeping on top of this multi-step process!

quietone’s picture

I found one more thing. 'Actions UI' is in the menu of Core modules at https://www.drupal.org/docs/develop/core-modules-and-themes/core-modules. Fortunately, I have access to remove that link.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

quietone’s picture

Version: 11.x-dev » 11.0.x-dev