public function OverviewController::__construct in Paragraphs Collection 8
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
- src/
Controller/ OverviewController.php, line 93
Class
- OverviewController
- The controller for overviews of Paragraphs Collection's discoverable items.
Namespace
Drupal\paragraphs_collection\ControllerCode
public function __construct(GridLayoutDiscoveryInterface $grid_layout_discovery, StyleDiscoveryInterface $style_discovery) {
$this->gridLayoutDiscovery = $grid_layout_discovery;
$this->styleDiscovery = $style_discovery;
}