Pull merge.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / user_operations.twig
1 /**
2  * Implements hook_user_operations().
3  */
4 function {{ machine_name }}_user_operations() {
5   $operations = array(
6     'unblock' => array(
7       'label' => t('Unblock the selected users'),
8       'callback' => 'user_user_operations_unblock',
9     ),
10     'block' => array(
11       'label' => t('Block the selected users'),
12       'callback' => 'user_user_operations_block',
13     ),
14     'cancel' => array(
15       'label' => t('Cancel the selected user accounts'),
16     ),
17   );
18   return $operations;
19 }