public function OverviewController::__construct

Constructs a \Drupal\paragraphs_collection\Controller\OverviewController object.

Parameters

\Drupal\paragraphs_collection\GridLayoutDiscoveryInterface $grid_layout_discovery: The discovery service for grid layout files.

\Drupal\paragraphs_collection\StyleDiscoveryInterface $style_discovery: The discovery service for style files.

File

paragraphs_collection/src/Controller/OverviewController.php, line 93

Class

OverviewController
The controller for overviews of Paragraphs Collection's discoverable items.

Namespace

Drupal\paragraphs_collection\Controller

Code

public function __construct(GridLayoutDiscoveryInterface $grid_layout_discovery, StyleDiscoveryInterface $style_discovery) {
  $this->gridLayoutDiscovery = $grid_layout_discovery;
  $this->styleDiscovery = $style_discovery;
}