function page_manager_page_subtasks

Task callback to get all subtasks.

Return a list of all subtasks.

1 string reference to 'page_manager_page_subtasks'
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 70

Code

function page_manager_page_subtasks($task) {
    $pages = page_manager_page_load_all($task['name']);
    $return = array();
    foreach ($pages as $name => $page) {
        $return[$name] = page_manager_page_build_subtask($task, $page);
    }
    return $return;
}