hook_action_info_alter

Versions
6 – 7
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

Code

modules/system/system.api.php, line 2463

<?php
function hook_action_info_alter(&$actions) {
  $actions['node_unpublish_action']['label'] = t('Unpublish and remove from public view.');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.