You are here

function patterns_permission in Patterns 7

Same name and namespace in other branches
  1. 7.2 includes/config.inc \patterns_permission()

Implements hook_permission().

File

includes/config.inc, line 13

Code

function patterns_permission() {
  return array(
    'administer patterns' => array(
      'title' => t('Administer patterns'),
    ),
    'get patterns' => array(
      'title' => t('Get a pattern or the XML feed through the REST web service'),
    ),
    'public patterns' => array(
      'title' => t('See the public patterns page'),
    ),
  );
}