You are here

function domain_user_operations in Domain Access 7.2

Same name and namespace in other branches
  1. 6.2 domain.module \domain_user_operations()
  2. 7.3 domain.module \domain_user_operations()

Implements hook_user_operations().

File

./domain.module, line 562
Core module functions for the Domain Access suite.

Code

function domain_user_operations() {
  if (!user_access('assign domain editors')) {
    return;
  }
  return array(
    'domain' => array(
      'label' => t('Assign users to domains'),
      'callback' => 'domain_user_operation_assign',
    ),
  );
}