You are here

public function ContentEntityConfirmFormBase::getFormName in Drupal 9

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

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';
}