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()

Called to execute actions that should happen before a handler is rendered.

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

File

includes/context-task-handler.inc, line 267
Support for creating 'context' type task handlers.

Code

function ctools_context_handler_pre_render($handler, $contexts, $args) {
  foreach (module_implements('ctools_context_handler_pre_render') as $module) {
    $function = $module . '_ctools_context_handler_pre_render';
    $function($handler, $contexts, $args);
  }
}