function entity_modules_installed in Entity API 8
Same name and namespace in other branches
- 7 entity.module \entity_modules_installed()
Implements hook_modules_installed().
File
- ./
entity.module, line 129 - Provides expanded entity APIs.
Code
function entity_modules_installed($modules) {
foreach (entity_get_bundle_plugin_entity_types() as $entity_type) {
\Drupal::service('entity.bundle_plugin_installer')
->installBundles($entity_type, $modules);
}
}