function template_preprocess_openlayers_plus_blocktoggle in OpenLayers Plus 7
Same name and namespace in other branches
- 7.3 theme/theme.inc \template_preprocess_openlayers_plus_blocktoggle()
- 7.2 theme/theme.inc \template_preprocess_openlayers_plus_blocktoggle()
Preprocessor for theme('openlayers_plus_legend').
File
- theme/
theme.inc, line 20
Code
function template_preprocess_openlayers_plus_blocktoggle(&$vars) {
drupal_add_css(drupal_get_path('module', 'openlayers_plus') . '/theme/openlayers_plus.css');
$vars['points'] = t('Points');
$vars['shading'] = t('Shading');
}