function entity_info_cache_clear

Resets the cached information about entity types.

7 calls to entity_info_cache_clear()
drupal_flush_all_caches in drupal/includes/common.inc
Flushes all cached data on the site.
field_info_cache_clear in drupal/modules/field/field.info.inc
Clears the field info cache without clearing the field data cache.
field_test_entity_info_translatable in drupal/modules/field/tests/field_test.entity.inc
Helper function to enable entity translations.
field_ui_field_attach_rename_bundle in drupal/modules/field_ui/field_ui.module
Implements hook_field_attach_rename_bundle().
module_disable in drupal/includes/module.inc
Disables a given set of modules.

... See full list

File

drupal/includes/common.inc, line 7904
Common functions that many Drupal modules will need to reference.

Code

function entity_info_cache_clear() {
  drupal_static_reset('entity_get_info');

  // Clear all languages.
  cache_clear_all('entity_info:', 'cache', TRUE);
}