You are here

function page_manager_search_subtasks in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 page_manager/plugins/tasks/search.inc \page_manager_search_subtasks()

Task callback to get all subtasks.

Return a list of all subtasks.

1 string reference to 'page_manager_search_subtasks'
page_manager_search_page_manager_tasks in page_manager/plugins/tasks/search.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

page_manager/plugins/tasks/search.inc, line 254
Handle the 'node view' override task.

Code

function page_manager_search_subtasks($task) {
  foreach (module_implements('search') as $name) {
    if (module_invoke($name, 'search', 'name')) {
      $return[$name] = page_manager_search_build_subtask($task, $name);
    }
  }
  return $return;
}