function page_manager_page_load in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 page_manager/plugins/tasks/page.inc \page_manager_page_load()
Load a single page subtask.
4 calls to page_manager_page_load()
- page_manager_page_execute in page_manager/
plugins/ tasks/ page.inc - Execute a page task.
- page_manager_page_form_basic_validate in page_manager/
plugins/ tasks/ page.admin.inc - Validate the basic form.
- page_manager_page_subtask in page_manager/
plugins/ tasks/ page.inc - Callback to return a single subtask.
- _pm_arg_load in page_manager/
plugins/ tasks/ page.inc - Load a context from an argument for a given page task.
File
- page_manager/
plugins/ tasks/ page.inc, line 394 - 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($name) {
ctools_include('export');
$result = ctools_export_load_object('page_manager_pages', 'names', array(
$name,
));
if (isset($result[$name])) {
return $result[$name];
}
}