public function Oauth2TokenDeleteForm::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8.3 src/Entity/Form/Oauth2TokenDeleteForm.php \Drupal\simple_oauth\Entity\Form\Oauth2TokenDeleteForm::__construct()
- 5.x src/Entity/Form/Oauth2TokenDeleteForm.php \Drupal\simple_oauth\Entity\Form\Oauth2TokenDeleteForm::__construct()
Constructs a ContentEntityForm object.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
Overrides ContentEntityForm::__construct
File
- src/
Entity/ Form/ Oauth2TokenDeleteForm.php, line 40
Class
- Oauth2TokenDeleteForm
- Provides a form for deleting Access Token entities.
Namespace
Drupal\simple_oauth\Entity\FormCode
public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info = NULL, TimeInterface $time = NULL, MessengerInterface $messenger) {
parent::__construct($entity_repository, $entity_type_bundle_info, $time);
$this->messenger = $messenger;
}