function process_gmap_align in GMap Module 6
Same name and namespace in other branches
- 5 gmap.module \process_gmap_align()
- 6.2 gmap.module \process_gmap_align()
Alignment selector #process function.
1 string reference to 'process_gmap_align'
- gmap_elements in ./
gmap.module - Implementation of hook_elements().
File
- ./
gmap.module, line 772 - GMap -- Routines to use the Google Maps API in Drupal.
Code
function process_gmap_align($element) {
$element['#type'] = 'select';
gmap_widget_setup($element, 'align');
$element['#options'] = drupal_map_assoc(array(
'None',
'Right',
'Left',
'Center',
));
$element['#theme'] = 'gmap_align';
$element += _element_info('select');
return $element;
}