You are here

public function ConfigTranslationBlockListBuilder::__construct in Zircon Profile 8

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

Constructs a new EntityListBuilder object.

Parameters

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

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

Overrides EntityListBuilder::__construct

File

core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php, line 31
Contains \Drupal\config_translation\Controller\ConfigTranslationBlockListBuilder.

Class

ConfigTranslationBlockListBuilder
Defines the config translation list builder for blocks.

Namespace

Drupal\config_translation\Controller

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ThemeHandlerInterface $theme_handler) {
  parent::__construct($entity_type, $storage);
  $this->themes = $theme_handler
    ->listInfo();
}