You are here

function profile_module_manager_permission in Profile Module Manager 7

Same name and namespace in other branches
  1. 7.2 profile_module_manager.module \profile_module_manager_permission()

Implements hook_permission().

File

./profile_module_manager.module, line 71
Alters grouping in admin/modules using hook_system_info_alter

Code

function profile_module_manager_permission() {
  return array(
    'enable module bundles' => array(
      'title' => t('Enable Module Bundles'),
      'description' => t('Enable modules in bundles without administer modules permission.'),
    ),
    'enable admin bundles' => array(
      'title' => t('Enable Admin Bundles'),
      'description' => t('Enable modules in admin bundles without administer modules permission.'),
    ),
    'configure profile module manager' => array(
      'title' => t('Configure Profile Module Manager'),
      'description' => t('Manage hidden bundles and access to UI.'),
    ),
  );
}