1 entity.module | entity_info_cache_clear() |
Resets the cached information about entity types.
File
- core/
modules/ entity/ entity.module, line 423 - Entity API for handling entities like nodes or users.
Code
function entity_info_cache_clear() {
backdrop_static_reset('entity_get_info');
// Clear all languages.
cache()->deletePrefix('entity_info:');
}