entity_info_cache_clear

Versions
mediamosa-21
entity_info_cache_clear()

Resets the cached information about entity types.

▾ 4 functions call entity_info_cache_clear()

field_info_cache_clear in modules/field/field.info.inc
Clears the field info cache without clearing the field data cache.
field_test_entity_info_translatable in modules/field/tests/field_test.module
Helper function to enable entity translations.
rdf_mapping_save in modules/rdf/rdf.module
Saves an RDF mapping to the database.
system_modules_submit in modules/system/system.admin.inc
Submit callback; handles modules form submission.

Code

includes/common.inc, line 6289

<?php
function entity_info_cache_clear() {
  drupal_static_reset('entity_get_info');
  // Clear all languages.
  cache_clear_all('entity_info:', 'cache', TRUE);
}
?>