public function ContentTranslationUpdatesManager::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/src/ContentTranslationUpdatesManager.php \Drupal\content_translation\ContentTranslationUpdatesManager::__construct()
Constructs an updates manager instance.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface $update_manager: The entity definition update manager.
File
- core/
modules/ content_translation/ src/ ContentTranslationUpdatesManager.php, line 43 - Contains \Drupal\content_translation\ContentTranslationUpdatesManager.
Class
- ContentTranslationUpdatesManager
- Provides the logic needed to update field storage definitions when needed.
Namespace
Drupal\content_translationCode
public function __construct(EntityManagerInterface $entity_manager, EntityDefinitionUpdateManagerInterface $update_manager) {
$this->entityManager = $entity_manager;
$this->updateManager = $update_manager;
}