You are here

function page_title_permission in Page Title 7

Same name and namespace in other branches
  1. 8.2 page_title.module \page_title_permission()
  2. 7.2 page_title.module \page_title_permission()

Implement hook_perm().

File

./page_title.module, line 42
Enhanced control over the page title (in the head tag).

Code

function page_title_permission() {
  return array(
    'set page title' => array(
      'title' => t('Set Page Title'),
      'description' => t('Allow user to set or modify a page title'),
    ),
    'administer page titles' => array(
      'title' => t('Administer Page Title'),
      'description' => t('Perform administration tasks for Page Title'),
    ),
  );
}