Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContentTranslationDeleteAccess.php

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\Access

Code

public function __construct(EntityTypeManagerInterface $manager, ContentTranslationManagerInterface $content_translation_manager) {
    $this->entityTypeManager = $manager;
    $this->contentTranslationManager = $content_translation_manager;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal