You are here

public function OverridesEntityForm::getBaseFormId in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Form/OverridesEntityForm.php \Drupal\layout_builder\Form\OverridesEntityForm::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/modules/layout_builder/src/Form/OverridesEntityForm.php, line 74

Class

OverridesEntityForm
Provides a form containing the Layout Builder UI for overrides.

Namespace

Drupal\layout_builder\Form

Code

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