You are here

public function SettingsForm::__construct in Trailing Slash 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

EntityTypeBundleInfoInterface $entity_type_bundle_info:

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 31

Class

SettingsForm
Class SettingsForm

Namespace

Drupal\trailing_slash\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  parent::__construct($config_factory);
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}