function 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.