You are here

function page_manager_page_load_all in Chaos Tool Suite (ctools) 7

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

Load all page subtasks.

4 calls to page_manager_page_load_all()
page_manager_admin_paths in page_manager/page_manager.module
page_manager_page_form_basic_validate in page_manager/plugins/tasks/page.admin.inc
Validate the basic form.
page_manager_page_menu in page_manager/plugins/tasks/page.admin.inc
Delegated implementation of hook_menu().
page_manager_page_subtasks in page_manager/plugins/tasks/page.inc
Task callback to get all subtasks.

File

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

Code

function page_manager_page_load_all($task = NULL) {
  ctools_include('export');
  if (empty($task)) {
    return ctools_export_load_object('page_manager_pages');
  }
  else {
    return ctools_export_load_object('page_manager_pages', 'conditions', array(
      'task' => $task,
    ));
  }
}