You are here

public function SettingsForm::__construct in Simplifying 8

Add __construct.

Parameters

\Drupal\simplifying\Services\Toolbar $toolbar:

Add Toolbar.

\Drupal\simplifying\Services\EntityFields $entityfields:

Add EntityFields.

\Drupal\simplifying\Services\SettingsActions $settingsactions:

Add SettingsActions.

File

src/Form/SettingsForm.php, line 51

Class

SettingsForm

Namespace

Drupal\simplifying\Form

Code

public function __construct(Toolbar $toolbar, EntityFields $entityfields, SettingsActions $settingsactions) {
  $this->toolbar = $toolbar;
  $this->entityfields = $entityfields;
  $this->settingsactions = $settingsactions;
}