function FilterFormatListBuilder::createInstance
Same name in other branches
- 9 core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::createInstance()
- 8.9.x core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::createInstance()
- 11.x core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::createInstance()
Overrides EntityListBuilder::createInstance
File
-
core/
modules/ filter/ src/ FilterFormatListBuilder.php, line 62
Class
- FilterFormatListBuilder
- Defines a class to build a listing of filter format entities.
Namespace
Drupal\filterCode
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('config.factory'), $container->get('messenger'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.