function ctools_context_handler_pre_render

Same name in this branch
  1. 7.x-1.x 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

Code

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