public function CkeditorTemplateListBuilder::__construct in Ckeditor templates user interface 8
CkeditorTemplateListBuilder constructor.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entityType: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
Overrides DraggableListBuilder::__construct
File
- src/
Controller/ CkeditorTemplateListBuilder.php, line 35
Class
- CkeditorTemplateListBuilder
- Builds the list of ckeditor templates for the ckeditor template form.
Namespace
Drupal\ckeditor_templates_ui\ControllerCode
public function __construct(EntityTypeInterface $entityType, EntityStorageInterface $storage, MessengerInterface $messenger) {
parent::__construct($entityType, $storage);
$this->messenger = $messenger;
}