You are here

function page_manager_page_theme in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 page_manager/plugins/tasks/page.inc \page_manager_page_theme()

Delegated implementation of hook_theme().

1 string reference to 'page_manager_page_theme'
page_manager_page_page_manager_tasks in page_manager/plugins/tasks/page.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

page_manager/plugins/tasks/page.inc, line 232
Handle the 'page' task, which creates pages with arbitrary tasks and lets handlers decide how they will be rendered.

Code

function page_manager_page_theme(&$items, $task) {
  $base = array(
    'file' => 'page.admin.inc',
    'path' => drupal_get_path('module', 'page_manager') . '/plugins/tasks',
  );
  $items['page_manager_page_form_argument_table'] = $base + array(
    'arguments' => array(
      'form' => NULL,
    ),
  );
  $items['page_manager_page_lock'] = $base + array(
    'arguments' => array(
      'lock' => array(),
      'task_name' => NULL,
    ),
  );
  $items['page_manager_page_changed'] = $base + array(
    'arguments' => array(),
  );
}