function user_action_info in Drupal 6
Same name and namespace in other branches
- 7 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(),
),
);
}