function page_manager_make_task_name in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 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_render_handler in includes/
context-task-handler.inc - Render a task handler.
- ctools_task_handler_default_contextual_link in includes/
context-task-handler.inc - Provides contextual link for a task as defined by the handler.
- 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 984 - 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;
}
}