function ConfigTranslationBlockListBuilder::__construct
Same name in other branches
- 8.9.x core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationBlockListBuilder::__construct()
- 10 core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationBlockListBuilder::__construct()
- 11.x core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationBlockListBuilder::__construct()
Overrides EntityListBuilder::__construct
File
-
core/
modules/ config_translation/ src/ Controller/ ConfigTranslationBlockListBuilder.php, line 26
Class
- ConfigTranslationBlockListBuilder
- Defines the config translation list builder for blocks.
Namespace
Drupal\config_translation\ControllerCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ThemeHandlerInterface $theme_handler) {
parent::__construct($entity_type, $storage);
$this->themes = $theme_handler->listInfo();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.