You are here

public function YamlFormAdminSettingsForm::__construct in YAML Form 8

Constructs a YamlFormAdminSettingsForm object.

Parameters

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

\Drupal\Core\Extension\ModuleHandlerInterface $third_party_settings_manager: The module handler.

\Drupal\yamlform\YamlFormElementManagerInterface $element_manager: The form element manager.

\Drupal\yamlform\YamlFormSubmissionExporterInterface $submission_exporter: The form submission exporter.

\Drupal\yamlform\YamlFormTokenManagerInterface $token_manager: The token manager.

Overrides ConfigFormBase::__construct

File

src/Form/YamlFormAdminSettingsForm.php, line 89

Class

YamlFormAdminSettingsForm
Configure form admin settings for this site.

Namespace

Drupal\yamlform\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $third_party_settings_manager, YamlFormElementManagerInterface $element_manager, YamlFormSubmissionExporterInterface $submission_exporter, YamlFormTokenManagerInterface $token_manager) {
  parent::__construct($config_factory);
  $this->moduleHandler = $third_party_settings_manager;
  $this->elementManager = $element_manager;
  $this->submissionExporter = $submission_exporter;
  $this->tokenManager = $token_manager;
}