You are here

function auto_nodetitle_permission in Automatic Nodetitles 7

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

Implements hook_permission().

File

./auto_nodetitle.module, line 15
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,
    ),
  );
}