function _page_manager_page_get_arguments in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 page_manager/plugins/tasks/page.inc \_page_manager_page_get_arguments()
3 calls to _page_manager_page_get_arguments()
- page_manager_page_ctools_access_get in page_manager/
page_manager.module - Callback for access control ajax form on behalf of page.inc task.
- page_manager_page_form_access in page_manager/
plugins/ tasks/ page.admin.inc - Form to handle menu item controls.
- page_manager_page_get_arguments in page_manager/
plugins/ tasks/ page.inc - Return a list of arguments used by this task.
File
- page_manager/
plugins/ tasks/ page.inc, line 351 - Handle the 'page' task, which creates pages with arbitrary tasks and lets handlers decide how they will be rendered.
Code
function _page_manager_page_get_arguments($page) {
$arguments = array();
if (!empty($page->arguments)) {
foreach ($page->arguments as $keyword => $argument) {
if (isset($argument['name'])) {
$argument['keyword'] = $keyword;
$arguments[$keyword] = $argument;
}
}
}
return $arguments;
}