function LayoutBuilderEntityFormTrait::getBaseFormId
Same name in other branches
- 11.x core/modules/layout_builder/src/Form/LayoutBuilderEntityFormTrait.php \Drupal\layout_builder\Form\LayoutBuilderEntityFormTrait::getBaseFormId()
1 method overrides LayoutBuilderEntityFormTrait::getBaseFormId()
- LayoutForm::getBaseFormId in core/
modules/ navigation/ src/ Form/ LayoutForm.php
File
-
core/
modules/ layout_builder/ src/ Form/ LayoutBuilderEntityFormTrait.php, line 19
Class
- LayoutBuilderEntityFormTrait
- Provides a trait for common methods used in Layout Builder entity forms.
Namespace
Drupal\layout_builder\FormCode
public function getBaseFormId() : string {
return $this->getEntity()
->getEntityTypeId() . '_layout_builder_form';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.