function page_manager_make_task_name in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 page_manager/page_manager.module \page_manager_make_task_name()
Turn a task id + subtask_id into a task name.
11 calls to page_manager_make_task_name()
- ctools_context_handler_pre_render in includes/
context-task-handler.inc - Called to execute actions that should happen before a handler is rendered.
- ctools_context_handler_render in includes/
context-task-handler.inc - Render a context type task handler given a list of handlers attached to a type.
- page_manager_get_pages in page_manager/
page_manager.admin.inc - Sort tasks into buckets based upon whether or not they have subtasks.
- page_manager_http_response_admin_summary in page_manager/
plugins/ task_handlers/ http_response.inc - page_manager_page_admin_summary in page_manager/
plugins/ tasks/ page.inc - Provide a nice administrative summary of the page so an admin can see at a glance what this page does and how it is configured.
File
- page_manager/
page_manager.module, line 839 - The page manager module provides a UI and API to manage pages.
Code
function page_manager_make_task_name($task_id, $subtask_id) {
if ($subtask_id) {
return $task_id . '-' . $subtask_id;
}
else {
return $task_id;
}
}