public static function OverviewController::create

File

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

Class

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

Namespace

Drupal\paragraphs_collection\Controller

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('paragraphs_collection.grid_layout_discovery'), $container
    ->get('paragraphs_collection.style_discovery'));
}