function hook_panels_pane_content_alter

7.x panels.api.php hook_panels_pane_content_alter($content, $pane, $args, $contexts)

Allow to alter the pane content to render.

This happens after the keyword substitution.

Parameters

stdClass $content: The content block to render.

stdClass $pane: The pane object.

array $args: The display arguments.

array $contexts: Array with the used contexts.

1 invocation of hook_panels_pane_content_alter()
panels_renderer_standard::render_pane_content in panels/plugins/display_renderers/panels_renderer_standard.class.php
Render the interior contents of a single pane.

File

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

Code

function hook_panels_pane_content_alter($content, $pane, $args, $contexts) {
  // Don't display titles.
  unset($content->title);
}