function system_action_info
Same name and namespace in other branches
- 7.x drupal-7.x/modules/system/system.module \system_action_info()
Implementation of hook_action_info().
Archivo
- drupal-6.x/
modules/ system/ system.module, line 1355 - Configuration system that lets administrators modify the workings of the site.
Código
function system_action_info() {
return array(
'system_message_action' => array(
'type' => 'system',
'description' => t('Display a message to the user'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array('view', 'insert', 'update', 'delete'),
'comment' => array('view', 'insert', 'update', 'delete'),
'user' => array(
'view',
'insert',
'update',
'delete',
'login',
),
'taxonomy' => array('insert', 'update', 'delete'),
),
),
'system_send_email_action' => array(
'description' => t('Send e-mail'),
'type' => 'system',
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array('view', 'insert', 'update', 'delete'),
'comment' => array('view', 'insert', 'update', 'delete'),
'user' => array(
'view',
'insert',
'update',
'delete',
'login',
),
'taxonomy' => array('insert', 'update', 'delete'),
),
),
'system_goto_action' => array(
'description' => t('Redirect to URL'),
'type' => 'system',
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array('view', 'insert', 'update', 'delete'),
'comment' => array('view', 'insert', 'update', 'delete'),
'user' => array(
'view',
'insert',
'update',
'delete',
'login',
),
),
),
);
}