public ContentTranslationUpdatesManager::__construct(EntityManagerInterface $entity_manager, EntityDefinitionUpdateManagerInterface $update_manager)
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 41
Class
- ContentTranslationUpdatesManager
- Provides the logic needed to update field storage definitions when needed.
Namespace
Drupal\content_translation
Code
public function __construct(EntityManagerInterface $entity_manager, EntityDefinitionUpdateManagerInterface $update_manager) { $this->entityManager = $entity_manager; $this->updateManager = $update_manager; }
Please login to continue.