You are here

function accordions_permission in Accordions 7

Implements hook_permission().

File

./accordions.module, line 87

Code

function accordions_permission() {
  $permissions = array();
  $permissions['administer accordion types'] = array(
    'title' => t('Administer accordion types'),
    'description' => t('Administer accordion types'),
  );
  $permissions['configure accordion items'] = array(
    'title' => t('Configure accordion items'),
    'description' => t('Only allows users to edit the accordion settings of those items that they have permission to configure anyway.'),
  );
  return $permissions;
}