You are here

public function DefaultsEntityForm::getBaseFormId in Drupal 8

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

Class

DefaultsEntityForm
Provides a form containing the Layout Builder UI for defaults.

Namespace

Drupal\layout_builder\Form

Code

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