Constructs a \Drupal\system\ConfigFormBase object.

Paramètres

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

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

Fichier

src/Form/SettingsForm.php, line 32

Classe

SettingsForm
Defines a form that configures Subpathauto.

Namespace

Drupal\subpathauto\Form

Code

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