You are here

public function ParagraphsCategoryListBuilder::__construct in Paragraphs Editor Enhancements 8

Constructs a new ParagraphsCategoryListBuilder.

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

src/Controller/ParagraphsCategoryListBuilder.php, line 50

Class

ParagraphsCategoryListBuilder
Provides a listing of Paragraph category entities.

Namespace

Drupal\paragraphs_ee\Controller

Code

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;
}