You are here

public function EntityConfirmFormBase::getFormName in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getFormName()
  2. 10 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::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/Entity/EntityConfirmFormBase.php, line 47

Class

EntityConfirmFormBase
Provides a generic base class for an entity-based confirmation form.

Namespace

Drupal\Core\Entity

Code

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