function _field_info_collate_types_reset

Clears collated information on field and widget types and related structures.

Related topics

1 call to _field_info_collate_types_reset()
field_info_cache_clear in drupal/core/modules/field/field.info.inc
Clears the field info cache without clearing the field data cache.

File

drupal/core/modules/field/field.info.inc, line 125
Field Info API, providing information about available fields and field types.

Code

function _field_info_collate_types_reset() {
  drupal_static_reset('_field_info_collate_types');

  // Clear all languages.
  cache('field')
    ->deleteTags(array(
    'field_info_types' => TRUE,
  ));
}