function 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.