You are here

public function StylesOverviewForm::__construct in Paragraphs Collection 8

Constructs a RevisionOverviewForm object.

Parameters

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

Overrides ConfigFormBase::__construct

File

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