You are here

public function ConfigTranslationFieldListBuilder::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationFieldListBuilder::__construct()

Constructs a new ConfigTranslationFieldListBuilder object.

Parameters

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

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

Overrides EntityListBuilder::__construct

File

core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php, line 72
Contains \Drupal\config_translation\Controller\ConfigTranslationFieldListBuilder.

Class

ConfigTranslationFieldListBuilder
Defines the config translation list builder for field entities.

Namespace

Drupal\config_translation\Controller

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, EntityManagerInterface $entity_manager) {
  parent::__construct($entity_type, $storage);
  $this->entityManager = $entity_manager;
}