You are here

public function ConfirmFormBase::getFormName in Drupal 8

Same name and namespace in other branches
  1. 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

File

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

Class

ConfirmFormBase
Provides an generic base class for a confirmation form.

Namespace

Drupal\Core\Form

Code

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