function oa_layouts_variable_info in Open Atrium Core 7.2
Implements hook_variable_info().
File
- modules/
oa_layouts/ oa_layouts.variable.inc, line 11 - Hook implementations for the Variable module.
Code
function oa_layouts_variable_info($options) {
$variable = array();
$variable['oa_layouts_minipanel_header'] = array(
'type' => 'string',
'title' => t('Minipanel for Header'),
'default' => 'oa_toolbar_panel',
'description' => t("The machine name used for the page header mini panel."),
'group' => 'oa_layouts',
);
$variable['oa_layouts_minipanel_footer'] = array(
'type' => 'string',
'title' => t('Minipanel for Footer'),
'default' => 'oa_footer_panel',
'description' => t("The machine name used for the page footer mini panel."),
'group' => 'oa_layouts',
);
$variable['oa_layouts_layout_name'] = array(
'type' => 'string',
'title' => t('Site layout name'),
'default' => '',
'description' => t("The human name for the site layout variant to be used in this space.\n NOTE: This will override site layout selection rules."),
'group' => 'oa_site_layout',
);
return $variable;
}