You are here

public function ContentEntityConfirmFormBase::getBaseFormId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php \Drupal\Core\Entity\ContentEntityConfirmFormBase::getBaseFormId()

Returns a string identifying the base form.

Return value

string|null The string identifying the base form or NULL if this is not a base form.

Overrides EntityForm::getBaseFormId

File

core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php, line 22
Contains \Drupal\Core\Entity\ContentEntityConfirmFormBase.

Class

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