function process_gmap_align in GMap Module 5
Same name and namespace in other branches
- 6.2 gmap.module \process_gmap_align()
- 6 gmap.module \process_gmap_align()
Alignment selector #process function.
File
- ./
gmap.module, line 724 - 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;
}