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; }
Please login to continue.