You are here

public function GeneralSettingsForm::__construct in Diff 8

GeneralSettingsForm constructor.

Parameters

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

\Drupal\diff\DiffLayoutManager $diff_layout_manager: The diff layout manager service.

Overrides ConfigFormBase::__construct

File

src/Form/GeneralSettingsForm.php, line 32

Class

GeneralSettingsForm
Configure global diff settings.

Namespace

Drupal\diff\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, DiffLayoutManager $diff_layout_manager) {
  parent::__construct($config_factory);
  $this->diffLayoutManager = $diff_layout_manager;
}