You are here

function google_map_field_update_8001 in Google Map Field 8

Adds map type column to google map field type.

File

./google_map_field.install, line 152
Contains google_map_field.install.

Code

function google_map_field_update_8001() {
  $columns_to_add = [
    'type',
    'width',
    'height',
    'marker',
    'controls',
  ];
  $processed_fields = google_map_field_add_columns_to_schema($columns_to_add);
  \Drupal::state()
    ->set('google_map_field_8101_processed', $processed_fields);
}