Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php \Drupal\Core\Entity\ContentEntityConfirmFormBase::getFormName()
  2. 9 core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php \Drupal\Core\Entity\ContentEntityConfirmFormBase::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 ContentEntityConfirmFormBase::getFormName()
ContentEntityConfirmFormBase::buildForm in core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php
Form constructor.

File

core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php, line 45

Class

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

Namespace

Drupal\Core\Entity

Code

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