You are here

function ctools_context_handler_pre_render in Chaos Tool Suite (ctools) 7

Same name in this branch
  1. 7 ctools.api.php \ctools_context_handler_pre_render()
  2. 7 includes/context-task-handler.inc \ctools_context_handler_pre_render()
Same name and namespace in other branches
  1. 6 includes/context-task-handler.inc \ctools_context_handler_pre_render()

Let other modules modify the context handler before it is rendered.

Parameters

object $handler: A handler for a current task and subtask.

array $contexts: An associative array of contexts.

array $args: An array for current args.

See also

ctools_context_handler_pre_render()

1 call to ctools_context_handler_pre_render()
page_manager_http_response_render in page_manager/plugins/task_handlers/http_response.inc

File

./ctools.api.php, line 334
Hooks provided by the Chaos Tool Suite.

Code

function ctools_context_handler_pre_render($handler, array $contexts, array $args) {
  $handler->conf['css_id'] = 'my-id';
}