You are here

oa_separator.inc in Open Atrium Toolbar 7.2

File

plugins/content_types/oa_separator.inc
View source
<?php

/**
 * @file
 * Provides a panels pane that displays a toolbar line separator.
 */
$plugin = array(
  'title' => t('Toolbar vertical separator'),
  'description' => t('A vertical line between items in the toolbar.'),
  'category' => array(
    t('OA Admin'),
    -9,
  ),
  'render callback' => 'oa_toolbar_oa_separator_render',
  'defaults' => array(),
);

/**
 * Render callback.
 */
function oa_toolbar_oa_separator_render($subtype, $conf, $panel_args) {
  $block = new stdClass();
  $vars = array();
  $block->content = theme('oa_separator', $vars);
  return $block;
}

Functions

Namesort descending Description
oa_toolbar_oa_separator_render Render callback.