Same name and namespace in other branches
  1. 7.x modules/user/user.module \user_action_info()

Implementation of hook_action_info().

File

modules/user/user.module, line 2328
Enables the user registration and login system.

Code

function user_action_info() {
  return array(
    'user_block_user_action' => array(
      'description' => t('Block current user'),
      'type' => 'user',
      'configurable' => FALSE,
      'hooks' => array(),
    ),
    'user_block_ip_action' => array(
      'description' => t('Ban IP address of current user'),
      'type' => 'user',
      'configurable' => FALSE,
      'hooks' => array(),
    ),
  );
}