public function StylesOverviewForm::__construct

Constructs a RevisionOverviewForm object.

Parameters

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

File

paragraphs_collection/src/Form/StylesOverviewForm.php, line 35

Class

StylesOverviewForm
Provides a form for revision overview page.

Namespace

Drupal\paragraphs_collection\Form

Code

public function __construct(StyleDiscoveryInterface $style_discovery) {
  $this->config = $this
    ->config('paragraphs_collection.settings');
  $this->styleDiscovery = $style_discovery;
}