function hook_action_info_alter

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

Alter 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()
actions_list in drupal-6.x/includes/actions.inc
Discover all action functions by invoking hook_action_info().

File

documentation-6.x/developer/hooks/core.php, line 106
These are the hooks that are invoked by the Drupal core.

Code

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