1 system.api.php hook_action_info_alter(&$actions)

Alters the actions declared by another module.

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

See also

action_get_info()

Related topics

File

core/modules/system/system.api.php, line 3387
Hooks provided by Backdrop core and the System module.

Code

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