You are here

public function AdminSettingsForm::__construct in Node Revision Delete 8

Constructor.

Parameters

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

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

\Drupal\node_revision_delete\NodeRevisionDeleteInterface $node_revision_delete: The node revision delete.

Overrides ConfigFormBase::__construct

File

src/Form/AdminSettingsForm.php, line 46

Class

AdminSettingsForm
Class NodeRevisionDeleteAdminSettingsForm.

Namespace

Drupal\node_revision_delete\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, NodeRevisionDeleteInterface $node_revision_delete) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entity_type_manager;
  $this->nodeRevisionDelete = $node_revision_delete;
}