function ContentTranslationDeleteAccess::__construct
Same name in other branches
- 9 core/modules/content_translation/src/Access/ContentTranslationDeleteAccess.php \Drupal\content_translation\Access\ContentTranslationDeleteAccess::__construct()
- 8.9.x core/modules/content_translation/src/Access/ContentTranslationDeleteAccess.php \Drupal\content_translation\Access\ContentTranslationDeleteAccess::__construct()
- 10 core/modules/content_translation/src/Access/ContentTranslationDeleteAccess.php \Drupal\content_translation\Access\ContentTranslationDeleteAccess::__construct()
Constructs a ContentTranslationDeleteAccess object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $manager: The entity type manager.
\Drupal\content_translation\ContentTranslationManagerInterface $content_translation_manager: The content translation manager.
File
-
core/
modules/ content_translation/ src/ Access/ ContentTranslationDeleteAccess.php, line 49
Class
- ContentTranslationDeleteAccess
- Access check for entity translation deletion.
Namespace
Drupal\content_translation\AccessCode
public function __construct(EntityTypeManagerInterface $manager, ContentTranslationManagerInterface $content_translation_manager) {
$this->entityTypeManager = $manager;
$this->contentTranslationManager = $content_translation_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.