system_action_info

6 system.module system_action_info()
7 system.module system_action_info()
8 system.module system_action_info()

Implementation of hook_action_info().

File

modules/system/system.module, line 1357
Configuration system that lets administrators modify the workings of the site.

Code

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'),
      ),
    ),
  );
}
Login or register to post comments