You are here

function hook_panels_pane_content_alter in Panels 7.3

Allow to alter the pane content to render.

This happens after the keyword substitution.

Parameters

object $content: The content block to render.

object $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 plugins/display_renderers/panels_renderer_standard.class.php
Render the interior contents of a single pane.

File

./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);
}