function ctools_context_handler_get_task_arguments
Get the arguments from a task that are used to load contexts.
3 calls to ctools_context_handler_get_task_arguments()
- ctools_context_handler_get_task_contexts in includes/
context-task-handler.inc - Load the contexts for a task, using arguments.
- ctools_context_handler_get_task_object in includes/
context-task-handler.inc - Create an object suitable for use with the context system that kind of expects things in a certain, kind of clunky format. This one adds in arguments from the task.
- ctools_context_handler_render_handler in includes/
context-task-handler.inc - Render a task handler.
File
-
includes/
context-task-handler.inc, line 424
Code
function ctools_context_handler_get_task_arguments($task, $subtask) {
if ($function = ctools_plugin_get_function($task, 'get arguments')) {
return $function($task, $subtask);
}
return array();
}