You are here

public function DefaultsEntityForm::getBaseFormId in Drupal 9

Same name and namespace in other branches
  1. 8 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 71

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