public function TranslatorListBuilder::__construct

Constructs a TranslatorListBuilder object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityStorageInterface $storage: The config storage definition.

\Drupal\tmgmt\TranslatorManager $translator_manager: The language manager.

File

src/Entity/ListBuilder/TranslatorListBuilder.php, line 42

Class

TranslatorListBuilder
Provides a listing of translators.

Namespace

Drupal\tmgmt\Entity\ListBuilder

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, TranslatorManager $translator_manager) {
  parent::__construct($entity_type, $storage);
  $this->storage = $storage;
  $this->translatorManager = $translator_manager;
}