You are here

public function UserExpireSettingsForm::__construct in User Expire 8

Constructs a \Drupal\user_expire\Form\UserExpireSettingsForm object.

Parameters

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

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

Overrides ConfigFormBase::__construct

File

src/Form/UserExpireSettingsForm.php, line 32

Class

UserExpireSettingsForm
User expire admin settings form.

Namespace

Drupal\user_expire\Form

Code

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