You are here

public function ConfirmFormBase::getFormName in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getFormName()
  2. 9 core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getFormName()

Returns the internal name used to refer to the confirmation item.

Return value

string The internal form name.

Overrides ConfirmFormInterface::getFormName

1 call to ConfirmFormBase::getFormName()
ConfirmFormBase::buildForm in core/lib/Drupal/Core/Form/ConfirmFormBase.php
Form constructor.

File

core/lib/Drupal/Core/Form/ConfirmFormBase.php, line 34

Class

ConfirmFormBase
Provides a generic base class for a confirmation form.

Namespace

Drupal\Core\Form

Code

public function getFormName() {
  return 'confirm';
}