function FilterFormatListBuilder::__construct
Same name in other branches
- 9 core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::__construct()
- 8.9.x core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::__construct()
- 11.x core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::__construct()
Constructs a new FilterFormatListBuilder.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
Overrides DraggableListBuilder::__construct
File
-
core/
modules/ filter/ src/ FilterFormatListBuilder.php, line 52
Class
- FilterFormatListBuilder
- Defines a class to build a listing of filter format entities.
Namespace
Drupal\filterCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ConfigFactoryInterface $config_factory, MessengerInterface $messenger) {
parent::__construct($entity_type, $storage);
$this->configFactory = $config_factory;
$this->messenger = $messenger;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.