You are here

function subuser_switch_permission in Subuser 8

Same name and namespace in other branches
  1. 7.2 switch/subuser_switch.module \subuser_switch_permission()

Implements hook_permission().

File

switch/subuser_switch.module, line 12
Provides primary Drupal hook implementations.

Code

function subuser_switch_permission() {
  return array(
    'switch to subuser' => array(
      'title' => t('Switch to subuser'),
      'description' => t('Allows the user to switch (login as) to any of the subusers they have created.'),
    ),
  );
}