You are here

function gm3_field_field_display_alter in Google Maps API V3 7

Implementation of hook_field_display_alter().

File

gm3_field/gm3_field.module, line 866

Code

function gm3_field_field_display_alter(&$display, $context) {
  if ($display['type'] == 'gm3_entity_map') {
    $display['label'] = 'hidden';
  }
}