Implements hook_menu().
function layout_menu() {
$items['admin/structure/templates'] = array(
'title' => 'Templates',
'description' => 'Overview of the list of layout templates available.',
'page callback' => 'layout_page_list',
'access callback' => 'user_access',
'access arguments' => array(
'administer layouts',
),
'file' => 'layout.admin.inc',
);
$items['admin/structure/templates/manage/%'] = array(
'title' => 'View template',
'page callback' => 'layout_page_view',
'page arguments' => array(
4,
),
'access callback' => 'layout_user_access',
'access arguments' => array(
4,
),
'file' => 'layout.admin.inc',
);
return $items;
}