public function DefaultsEntityForm::getBaseFormId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Form/DefaultsEntityForm.php \Drupal\layout_builder\Form\DefaultsEntityForm::getBaseFormId()
- 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 71
Class
- DefaultsEntityForm
- Provides a form containing the Layout Builder UI for defaults.
Namespace
Drupal\layout_builder\FormCode
public function getBaseFormId() {
return $this
->getEntity()
->getEntityTypeId() . '_layout_builder_form';
}