public function YamlFormSubmissionDeleteForm::__construct in YAML Form 8
Constructs a new YamlFormSubmissionDeleteForm object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\yamlform\YamlFormRequestInterface $request_handler: The form request handler.
Overrides ContentEntityForm::__construct
File
- src/
Form/ YamlFormSubmissionDeleteForm.php, line 54
Class
- YamlFormSubmissionDeleteForm
- Provides a confirmation form for deleting a form submission.
Namespace
Drupal\yamlform\FormCode
public function __construct(EntityManagerInterface $entity_manager, YamlFormRequestInterface $request_handler) {
parent::__construct($entity_manager);
$this->requestHandler = $request_handler;
}