listAll() as $id) { $config = $config_factory->get($id); if ($config->get('dependencies.enforced') !== NULL) { // Resave the configuration entity. $entity = $config_manager->loadConfigEntityByName($id); $entity->save(); } } return t('All configuration objects with enforced dependencies re-saved.'); } /** * @} End of "addtogroup updates-8.0.0-beta". */