Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function system_action_info

Implements hook_action_info().

File

modules/system/system.module, line 3157

Code

function system_action_info () {
 return array(
 'system_message_action' => array(
 'type' => 'system',
 'label' => t ('Display a message to the user'),
 'configurable' => TRUE,
 'triggers' => array(
 'any',
 ),
 ),
 'system_send_email_action' => array(
 'type' => 'system',
 'label' => t ('Send e-mail'),
 'configurable' => TRUE,
 'triggers' => array(
 'any',
 ),
 ),
 'system_block_ip_action' => array(
 'type' => 'user',
 'label' => t ('Ban IP address of current user'),
 'configurable' => FALSE,
 'triggers' => array(
 'any',
 ),
 ),
 'system_goto_action' => array(
 'type' => 'system',
 'label' => t ('Redirect to URL'),
 'configurable' => TRUE,
 'triggers' => array(
 'any',
 ),
 ),
 );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.