function OverridesEntityForm::__construct
Same name and namespace in other branches
- 11.x core/modules/layout_builder/src/Form/OverridesEntityForm.php \Drupal\layout_builder\Form\OverridesEntityForm::__construct()
- 10 core/modules/layout_builder/src/Form/OverridesEntityForm.php \Drupal\layout_builder\Form\OverridesEntityForm::__construct()
- 9 core/modules/layout_builder/src/Form/OverridesEntityForm.php \Drupal\layout_builder\Form\OverridesEntityForm::__construct()
- 8.9.x core/modules/layout_builder/src/Form/OverridesEntityForm.php \Drupal\layout_builder\Form\OverridesEntityForm::__construct()
Constructs a new OverridesEntityForm.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\layout_builder\LayoutTempstoreRepositoryInterface $layoutTempstoreRepository: The layout tempstore repository.
Overrides ContentEntityForm::__construct
File
-
core/
modules/ layout_builder/ src/ Form/ OverridesEntityForm.php, line 50
Class
- OverridesEntityForm
- Provides a form containing the Layout Builder UI for overrides.
Namespace
Drupal\layout_builder\FormCode
public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, protected LayoutTempstoreRepositoryInterface $layoutTempstoreRepository) {
parent::__construct($entity_repository, $entity_type_bundle_info, $time);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.