You are here

public function EntityConfirmFormBase::getBaseFormId in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getBaseFormId()
  2. 9 core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php \Drupal\Core\Entity\EntityConfirmFormBase::getBaseFormId()

File

core/lib/Drupal/Core/Entity/EntityConfirmFormBase.php, line 19

Class

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

Namespace

Drupal\Core\Entity

Code

public function getBaseFormId() {
  return $this->entity
    ->getEntityTypeId() . '_confirm_form';
}