| Versionen | |
|---|---|
| drupal6 – drupal7 | 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().
trigger_example_action_info_alter().
developer-docs/
<?php
function hook_action_info_alter(&$actions) {
$actions['node_unpublish_action']['description'] = t('Unpublish and remove from public view.');
}
?>
Kommentare
Kommentar hinzufügen