You are here

function bean_usage_permission in Bean (for Drupal 7) 7

Implements hook_permission()

Return value

array

File

bean_usage/bean_usage.module, line 67
Bean Admin Functions and Display

Code

function bean_usage_permission() {
  $perms = array(
    'view bean usage' => array(
      'title' => t('View bean usage'),
      'description' => t('View a list of Beans (blockreferences) and where they are used.'),
    ),
    'administer bean usage' => array(
      'title' => t('Administer bean usage'),
      'description' => t('Administer settings for the bean usage page.'),
    ),
  );
  return $perms;
}