You are here

function hook_panels_pre_render in Panels 7.3

Fired before a panels display is rendered.

Last chance to modify the panels display or add output before the keyword substitution runs and the panels display is rendered.

Parameters

panels_display $panels_display: The panels display that will be rendered.

object $renderer: The renderer object that will be used to render.

Return value

string Additional output to add before the panels display.

2 functions implement hook_panels_pre_render()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

i18n_panels_panels_pre_render in i18n_panels/i18n_panels.module
Implements hook_panels_pre_render().
panels_mini_panels_pre_render in panels_mini/panels_mini.module
Implements hook_panels_pre_render().
1 invocation of hook_panels_pre_render()
panels_display::render in ./panels.module
Render this panels display.

File

./panels.api.php, line 149
Hooks provided by Panels.

Code

function hook_panels_pre_render($panels_display, $renderer) {
  $translation = i18n_string_object_translate('panels_display_configuration', $panels_display);
  $panels_display->title = $translation->title;
}