public function ContentEntityConfirmFormBase::getBaseFormId

public 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 17

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityConfirmFormBase.php/function/ContentEntityConfirmFormBase::getBaseFormId/8.1.x