Rename hook_menu_local_actions_alter() to hook_local_actions_alter()

Created on 26 January 2019, over 5 years ago
Updated 21 April 2023, over 1 year ago

Problem/Motivation

To make it less confusing for developers, it was suggested to make some changes to local actions/tasks hooks.
See #2585169-32: Unable to alter local actions prior to rendering β†’ for more context.

Proposed resolution

Add hook_local_actions_alter() to replace hook_menu_local_actions_alter() .
Deprecate hook_menu_local_actions_alter() and remove it in Drupal 10.

Remaining tasks

Review, commit.

API changes

The hook is renamed, existing implementations should change their implementations before Drupal 10.

πŸ“Œ Task
Status

Needs work

Version

10.1 ✨

Component
Menu systemΒ  β†’

Last updated 1 day ago

Created by

πŸ‡©πŸ‡ͺGermany webflo

Live updates comments and jobs are added and updated live.
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