You are here

function finder_permission in Finder 7

Same name and namespace in other branches
  1. 7.2 finder.module \finder_permission()

Implements hook_permission().

See also

hook_permission()

File

./finder.module, line 146
The finder module.

Code

function finder_permission() {
  return array(
    'administer finder' => array(
      'title' => t('Administer finder'),
      'description' => t('Create and edit finders.'),
    ),
    'administer finder PHP settings' => array(
      'title' => t('Administer finder PHP settings'),
      'description' => t('Allow access to PHP settings when administering finders.'),
    ),
    'use finder' => array(
      'title' => t('Use finder'),
      'description' => t('Use finder forms.'),
    ),
  );
}