Problem/Motivation

The Action Example module is not installable because it depends on the Action UI module, which has been removed from Drupal core and became the contributed Action module.

Proposed resolution

Remove that dependency. It is not necessary for the Action Example module to work.

Original report

Problem/Motivation

The Action Example module is not installable. The Extend page shows that a module it requires does not exist.

Proposed resolution

In the modules/action_example/action_example.info.yml file change the following line.

  - drupal:action

Since the module is now a contributed module, the correct line is the following one.

  - action:action

Since the module has two different versions, it is probably better to use the following line.

  - action:action (> 10.2)

Issue fork examples-3545798

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

avpaderno created an issue. See original summary.

oily made their first commit to this issue’s fork.

ironnuts’s picture

Status: Active » Needs review
avpaderno’s picture

Component: Action Example » Code
avpaderno’s picture

Issue summary: View changes

What has been moved to a contributed module is the Action UI module, which is not a dependency for a module implementing an action. Drupal actions just depend on Drupal core.

The correct action is removing that dependency.

avpaderno’s picture

Title: The module requires the Drupal core Action module, which has been moved to a contributed module » The Action Example module requires a Drupal core module which has been removed
Component: Code » Other

avpaderno’s picture

Issue summary: View changes

avpaderno changed the visibility of the branch 3545798-the-module-requires to hidden.

ironnuts’s picture

I have reviewed the latest issue branch. I am able to install the action example module in a vanilla Drupal 11 site. Changing to RTBTC.

ironnuts’s picture

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

Issue summary: View changes

  • avpaderno committed e387221c on 4.0.x
    Issue #3545798: The Action Example module requires a Drupal core module...
avpaderno’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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