public ContentTranslationUpdatesManager::onConfigImporterImport()
Listener for the ConfigImporter import event.
File
- core/modules/content_translation/src/ContentTranslationUpdatesManager.php, line 73
Class
- ContentTranslationUpdatesManager
- Provides the logic needed to update field storage definitions when needed.
Namespace
Drupal\content_translation
Code
1 2 3 4 5 6 | public function onConfigImporterImport() { $entity_types = array_filter ( $this ->entityManager->getDefinitions(), function (EntityTypeInterface $entity_type ) { return $entity_type ->isTranslatable(); }); $this ->updateDefinitions( $entity_types ); } |
Please login to continue.