function properties_template_permission in Dynamic properties 7
Implements hook_permission().
File
- properties_template/
properties_template.module, line 11 - This module implements the template functionality for properties.
Code
function properties_template_permission() {
return array(
'administer properties templates' => array(
'title' => t('Administer templates'),
'description' => t('Allows to create new, edit existing and delete templates.'),
),
'add properties templates' => array(
'title' => t('Choose a template for a property field'),
'description' => t('Allows to choose a template when creating content with attached properties.'),
),
);
}