You are here

function globallink_update_7670 in GlobalLink Connect for Drupal 7.6

File

./globallink.install, line 3193
Installation file for GlobalLink module.

Code

function globallink_update_7670() {
  $delete_field_types = [
    'paragraphs',
    'entityreference',
    'list_integer',
    'list_text',
    'taxonomy_term_reference',
    'list_boolean',
    'boolean',
    'list_float',
  ];
  db_delete('globallink_field_config')
    ->condition('field_type', $delete_field_types, 'IN')
    ->execute();
}