function openlayers_filters_filter_tips in Openlayers 6.2
Same name and namespace in other branches
- 6 modules/openlayers_filters/openlayers_filters.module \openlayers_filters_filter_tips()
Implementation of hook_filter_tips().
File
- modules/
openlayers_filters/ openlayers_filters.module, line 86 - This file holds the main Drupal hook functions and private functions for the openlayers_filters module.
Code
function openlayers_filters_filter_tips($delta, $format, $long = FALSE) {
switch ($delta) {
case 0:
if ($long) {
return t('Substitutes a macro text like !macro_example into a the
appropriate rendered OpenLayers map. This will render a map
preset into the body of content. If the preset name is not given,
as in !macro_example_default, the default map preset will be shown.', array(
'!macro_example' => '[openlayers preset_name]',
'!macro_example_default' => '[openlayers]',
));
}
else {
return t('Substitutes a macro text like !macro_example into a the
appropriate rendered OpenLayers map.', array(
'!macro_example' => '[openlayers preset_name]',
));
}
break;
}
}