You are here

function user_action_info in Drupal 7

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

Implements hook_action_info().

File

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

Code

function user_action_info() {
  return array(
    'user_block_user_action' => array(
      'label' => t('Block current user'),
      'type' => 'user',
      'configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
  );
}