function eck_flush_caches in Entity Construction Kit (ECK) 7.3
Same name and namespace in other branches
- 7.2 eck.module \eck_flush_caches()
Implements hook_flush_caches().
2 calls to eck_flush_caches()
- eck_modules_disabled in ./
eck.module - Implements hook_modules_disabled().
- eck_modules_enabled in ./
eck.module - Implements hook_modules_enabled().
File
- ./
eck.module, line 50
Code
function eck_flush_caches() {
// Reload all property types.
eck_get_property_types(NULL, TRUE);
// Reload all property widget types.
eck_property_info_widget_types(NULL, TRUE);
// Reload all ECK entity types.
EntityType::loadAll(NULL, TRUE);
// Reload all Bundles.
Bundle::loadAll(NULL, TRUE);
}