You are here

function og_variables_og_permission in OG Variables 7

Implement hook_og_permission().

File

./og_variables.module, line 219
Per space management of variables.

Code

function og_variables_og_permission() {
  $items = array();
  $items['manage variables'] = array(
    'title' => t('Manage variables'),
    'description' => t('Manage variable overrides for this group.'),
    'default role' => array(
      OG_ADMINISTRATOR_ROLE,
    ),
    'restrict access' => TRUE,
  );
  return $items;
}