Skip navigation
Help

hook_action_info_alter

6 core.php hook_action_info_alter(&$actions)
7 system.api.php hook_action_info_alter(&$actions)

Alters the actions declared by another module.

Called by actions_list() to allow modules to alter the return values from implementations of hook_action_info().

See also

trigger_example_action_info_alter()

Related topics

1 invocation of hook_action_info_alter()

File

drupal/modules/system/system.api.php, line 3702
Hooks provided by Drupal core and the System module.

Code

function hook_action_info_alter(&$actions) {
  $actions['node_unpublish_action']['label'] = t('Unpublish and remove from public view.');
}