public function ContentTranslationManager::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/src/ContentTranslationManager.php \Drupal\content_translation\ContentTranslationManager::__construct()
Constructs a ContentTranslationManageAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $manager: The entity type manager.
\Drupal\content_translation\ContentTranslationUpdatesManager $updates_manager: The updates manager.
File
- core/
modules/ content_translation/ src/ ContentTranslationManager.php, line 40 - Contains \Drupal\content_translation\ContentTranslationManager.
Class
- ContentTranslationManager
- Provides common functionality for content translation.
Namespace
Drupal\content_translationCode
public function __construct(EntityManagerInterface $manager, ContentTranslationUpdatesManager $updates_manager) {
$this->entityManager = $manager;
$this->updatesManager = $updates_manager;
}