Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Expose actions as local actions

Security covered Under active development 3 sites

This module exposes Drupal's available action plugins as local task menu items. This allows permitted users to directly trigger these actions from the UI when viewing an entity where they make the most sense.

Drupal core and quite a few contrib modules come with Action plugins. They are handy tools to provide functionality in certain context, of which the most popular one are

  • Rules
  • Views Bulk Operations

Actions can also be triggered programatically - done so by many modules too.

However, there is no way to expose those actions to the UI for permitted users to directly trigger those actions where they make most sense: when viewing an entity of a certain type.

This is where this modules jumps in. It is very lightweight and does exactly that: expose actions as local task menu items such that they appear in the UI where they make sense. The 3 screenshots show the simple setup in a row:

  1. Review your list of actions and probably create and configure new ones
  2. Configure user permissions and define which role gets access to which action through the UI
  3. The permitted users will then see local actions for those exposed actions when ever they view an entity and the local actions block is being configured for that view

It's as simple as that.

Drupal 10–11 PHP >=8.1

Ask your assistant about Expose actions as local actions

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • action Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Oct 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.1.0 Stable 10–11 PHP >=8.1 Nov 29, 2023
2.1.0-beta1 Pre-release 10–11 PHP >=8.1 Nov 20, 2023
2.0.6 Stable 9–10 Oct 13, 2023
2.0.5 Stable 9–10 Oct 12, 2023
2.0.4 Stable 9–10 Oct 12, 2023
2.1.x-dev Dev 10–11 PHP >=8.1 Oct 12, 2023