function auto_entitylabel_permission in Automatic Entity Label 7
Implements hook_permission().
File
- ./
auto_entitylabel.module, line 34 - Allows hiding of entity label fields and automatic label creation.
Code
function auto_entitylabel_permission() {
return array(
'use PHP for label patterns' => array(
'title' => t('Use PHP for label patterns'),
'description' => t('Use PHP evaluation for automatic entity label patterns.'),
'restrict access' => TRUE,
),
);
}