function ds_permission in Display Suite 7
Same name and namespace in other branches
- 7.2 ds.module \ds_permission()
Implements hook_permission().
File
- ./
ds.module, line 29 - Display Suite core functions.
Code
function ds_permission() {
return array(
'admin_view_modes' => array(
'title' => t('Administer view modes'),
'description' => t('Create custom view modes for every entity.'),
),
'admin_fields' => array(
'title' => t('Administer fields'),
'description' => t('Create fields for every entity.'),
),
'admin_display_suite' => array(
'title' => t('Administer Display Suite'),
'description' => t('General permission for Display Suite settings pages.'),
),
);
}