You are here

function mlpanels_default_panels_renderer_pipeline in Multilingual Panels 7

Implements hook_default_panels_renderer_pipeline().

File

./mlpanels.module, line 108
Multilingual panels.

Code

function mlpanels_default_panels_renderer_pipeline() {
  $pipelines = array();
  $pipeline = new stdClass();
  $pipeline->disabled = FALSE;
  $pipeline->api_version = 1;
  $pipeline->name = MLPANELS_RENDERER_STANDARD;
  $pipeline->admin_title = t('Multilingual Standard');
  $pipeline->admin_description = t("Inherit standard renderer but allow different pane's setting per language.");
  $pipeline->weight = -99;
  $pipeline->settings = array(
    'renderers' => array(
      0 => array(
        'access' => array(),
        'renderer' => MLPANELS_RENDERER_STANDARD,
        'options' => array(),
      ),
    ),
  );
  $pipelines[$pipeline->name] = $pipeline;
  return $pipelines;
}