hook_menu_local_actions_alter(&$local_actions)
Alter local actions plugins.
Parameters
array $local_actions: The array of local action plugin definitions, keyed by plugin ID.
See also
\Drupal\Core\Menu\LocalActionInterface
\Drupal\Core\Menu\LocalActionManager
Related topics
- Hooks
- Define functions that alter the behavior of Drupal core.
- Menu system
- Define the navigation menus, local actions and tasks, and contextual links.
File
- core/lib/Drupal/Core/Menu/menu.api.php, line 335
- Hooks and documentation related to the menu system and links.
Code
function hook_menu_local_actions_alter(&$local_actions) { }
Please login to continue.