1.20.x layout.module layout_permission()

Implements hook_permission().

File

modules/layout/layout.module, line 733
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('Add and modify layouts on pages.'),
      'restrict access' => TRUE,
    ),
    'administer flexible templates' => array(
      'title' => t('Administer Flexible Templates'),
      'description' => t('Create, configure and delete flexible layout templates.'),
      'restrict access' => TRUE,
    ),
  );
}