You are here

function auto_nodetitle_permission in Automatic Nodetitles 8

Same name and namespace in other branches
  1. 7 auto_nodetitle.module \auto_nodetitle_permission()

Implements hook_permission().

File

./auto_nodetitle.module, line 19
Allows hiding of the node title field and automatic title creation.

Code

function auto_nodetitle_permission() {
  return array(
    'use PHP for title patterns' => array(
      'title' => t('Use PHP for title patterns'),
      'description' => t('Use PHP for title patterns.'),
      'restrict access' => TRUE,
    ),
  );
}