You are here

public function SettingsForm::__construct in Menu Breadcrumb 8

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

SettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Used to obtain configuration information.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: Used to determined whether the Menu UI module is installed.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 32

Class

SettingsForm

Namespace

Drupal\menu_breadcrumb\Form

Code

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