function workbench_moderation_nodedraft_get_contexts in Workbench Moderation 7.3
Same name and namespace in other branches
- 7 plugins/page_manager/tasks/nodedraft.inc \workbench_moderation_nodedraft_get_contexts()
Callback to get context placeholders provided by this handler.
1 string reference to 'workbench_moderation_nodedraft_get_contexts'
- workbench_moderation_nodedraft_page_manager_tasks in plugins/
page_manager/ tasks/ nodedraft.inc - Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.
File
- plugins/
page_manager/ tasks/ nodedraft.inc, line 131
Code
function workbench_moderation_nodedraft_get_contexts($task, $subtask_id) {
return ctools_context_get_placeholders_from_argument(page_manager_node_view_get_arguments($task, $subtask_id));
}