function entity_info_cache_clear
7.x common.inc | entity_info_cache_clear() |
Resets the cached information about entity types.
7 calls to entity_info_cache_clear()
- drupal_flush_all_caches in drupal-7.x/
includes/ common.inc - Flushes all cached data on the site.
- field_info_cache_clear in drupal-7.x/
modules/ field/ field.info.inc - Clears the field info cache without clearing the field data cache.
- field_test_entity_info_translatable in drupal-7.x/
modules/ field/ tests/ field_test.entity.inc - Helper function to enable entity translations.
- field_ui_field_attach_rename_bundle in drupal-7.x/
modules/ field_ui/ field_ui.module - Implements hook_field_attach_rename_bundle().
- module_disable in drupal-7.x/
includes/ module.inc - Disables a given set of modules.
File
- drupal-7.x/
includes/ common.inc, line 7692 - 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);
}