You are here

public function AutosaveFormSettingsForm::__construct in Autosave Form 8

Constructs a new AutosaveFormSettingsForm.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.

Overrides ConfigFormBase::__construct

File

src/Form/AutosaveFormSettingsForm.php, line 39

Class

AutosaveFormSettingsForm
Configure autosave form settings for this site.

Namespace

Drupal\autosave_form\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}