public function EntityFormController::getBaseFormID

Returns a string identifying the base form.

Return value

string|false The string identifying the base form or FALSE if this is not a base form.

Overrides BaseFormIdInterface::getBaseFormID

File

drupal/core/lib/Drupal/Core/Entity/EntityFormController.php, line 62
Contains \Drupal\Core\Entity\EntityFormController.

Class

EntityFormController
Base class for entity form controllers.

Namespace

Drupal\Core\Entity

Code

public function getBaseFormID() {
  return $this->entity
    ->entityType() . '_form';
}