Resets the cached information about entity types.
... See full list
function entity_info_cache_clear() { drupal_static_reset('entity_get_info'); // Clear all languages. cache_clear_all('entity_info:', 'cache', TRUE); }