function lightning_core_update_8004 in Lightning Core 8.4
Same name and namespace in other branches
- 8.5 lightning_core.install \lightning_core_update_8004()
- 8 lightning_core.install \lightning_core_update_8004()
- 8.2 lightning_core.install \lightning_core_update_8004()
- 8.3 lightning_core.install \lightning_core_update_8004()
Clears the entity type definition cache.
File
- ./
lightning_core.install, line 83 - Contains install and update routines for Lightning.
Code
function lightning_core_update_8004() {
\Drupal::entityTypeManager()
->clearCachedDefinitions();
}