function features_modules_installed in Features 8.3
Same name and namespace in other branches
- 8.4 features.module \features_modules_installed()
Implements hook_modules_installed().
File
- ./
features.module, line 51 - Main hooks for Features module.
Code
function features_modules_installed($modules) {
if (!in_array('features', $modules)) {
/** @var \Drupal\features\FeaturesAssignerInterface $assigner */
$assigner = \Drupal::service('features_assigner');
$assigner
->purgeConfiguration();
}
}