ContentTranslationManager::__construct

public ContentTranslationManager::__construct(EntityManagerInterface $manager, ContentTranslationUpdatesManager $updates_manager)

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 35

Class

ContentTranslationManager
Provides common functionality for content translation.

Namespace

Drupal\content_translation

Code

public function __construct(EntityManagerInterface $manager, ContentTranslationUpdatesManager $updates_manager) {
  $this->entityManager = $manager;
  $this->updatesManager = $updates_manager;
}
doc_Drupal
2016-10-29 08:58:21
Comments
Leave a Comment

Please login to continue.