function entity_info_cache_clear

cis7 common.inc entity_info_cache_clear()
cle7 common.inc entity_info_cache_clear()
elmsmedia7 common.inc entity_info_cache_clear()
icor7 common.inc entity_info_cache_clear()
meedjum_blog7 common.inc entity_info_cache_clear()
mooc7 common.inc entity_info_cache_clear()

Resets the cached information about entity types.

11 calls to entity_info_cache_clear()
drupal_flush_all_caches in includes/common.inc
Flushes all cached data on the site.
entitycache_update_7002 in sites/all/modules/ulmus/entitycache/entitycache.install
Rebuild entity info cache and registry.
field_collection_field_create_field in sites/all/modules/ulmus/field_collection/field_collection.module
Implements hook_field_create_field().
field_collection_field_delete_field in sites/all/modules/ulmus/field_collection/field_collection.module
Implements hook_field_delete_field().
field_info_cache_clear in modules/field/field.info.inc
Clears the field info cache without clearing the field data cache.

... See full list

File

includes/common.inc, line 7690
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);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.