1 layout.module | layout_permission() |
Implements hook_permission().
File
- core/
modules/ layout/ layout.module, line 948 - The Layout module creates pages and wraps existing pages in layouts.
Code
function layout_permission() {
return array(
'administer layouts' => array(
'title' => t('Administer Layouts'),
'description' => t('Create and modify layouts and blocks.'),
'restrict access' => TRUE,
'warning' => t('Change the access/visibility of menu items, layouts and blocks.'),
),
'administer flexible templates' => array(
'title' => t('Administer Flexible Templates'),
'description' => t('Create, configure and delete flexible layout templates.'),
'restrict access' => TRUE,
'warning' => t('Manage all aspects of flexible layout templates, including deleting them.'),
),
);
}