You are here

public function SettingsForm::__construct in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x src/Form/SettingsForm.php \Drupal\bibcite\Form\SettingsForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 26

Class

SettingsForm
Common configuration.

Namespace

Drupal\bibcite\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, CitationStylerInterface $styler) {
  parent::__construct($config_factory);
  $this->styler = $styler;
}