function _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 339

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;
}