ContentTranslationManageAccessCheck::__construct

public ContentTranslationManageAccessCheck::__construct(EntityManagerInterface $manager, LanguageManagerInterface $language_manager)

Constructs a ContentTranslationManageAccessCheck object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $manager: The entity type manager.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

File

core/modules/content_translation/src/Access/ContentTranslationManageAccessCheck.php, line 41

Class

ContentTranslationManageAccessCheck
Access check for entity translation CRUD operation.

Namespace

Drupal\content_translation\Access

Code

public function __construct(EntityManagerInterface $manager, LanguageManagerInterface $language_manager) {
  $this->entityManager = $manager;
  $this->languageManager = $language_manager;
}
doc_Drupal
2016-10-29 08:58:18
Comments
Leave a Comment

Please login to continue.