function ConfigTranslationBlockListBuilder::createInstance
Same name in other branches
- 9 core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationBlockListBuilder::createInstance()
- 8.9.x core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationBlockListBuilder::createInstance()
- 10 core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationBlockListBuilder::createInstance()
Overrides EntityListBuilder::createInstance
File
-
core/
modules/ config_translation/ src/ Controller/ ConfigTranslationBlockListBuilder.php, line 34
Class
- ConfigTranslationBlockListBuilder
- Defines the config translation list builder for blocks.
Namespace
Drupal\config_translation\ControllerCode
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
return new static($entity_type, $container->get('entity_type.manager')
->getStorage($entity_type->id()), $container->get('theme_handler'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.