You are here

function panels_renderer_single_pane::prepare in Panels 6.3

Prepare the attached display for rendering.

This is the outermost prepare method. It calls several sub-methods as part of the overall preparation process. This compartmentalization is intended to ease the task of modifying renderer behavior in child classes.

If you override this method, it is important that you either call this method via parent::prepare(), or manually set $this->prep_run = TRUE.

Parameters

mixed $external_settings: An optional parameter allowing external code to pass in additional settings for use in the preparation process. Not used in the default renderer, but included for interface consistency.

Overrides panels_renderer_standard::prepare

File

plugins/display_renderers/panels_renderer_single_pane.class.php, line 26

Class

panels_renderer_single_pane

Code

function prepare($external_settings = NULL) {
  $this->render_pid = $external_settings;
}