function RevertOverridesForm::create
Same name in other branches
- 8.9.x core/modules/layout_builder/src/Form/RevertOverridesForm.php \Drupal\layout_builder\Form\RevertOverridesForm::create()
- 10 core/modules/layout_builder/src/Form/RevertOverridesForm.php \Drupal\layout_builder\Form\RevertOverridesForm::create()
- 11.x core/modules/layout_builder/src/Form/RevertOverridesForm.php \Drupal\layout_builder\Form\RevertOverridesForm::create()
Overrides FormBase::create
File
-
core/
modules/ layout_builder/ src/ Form/ RevertOverridesForm.php, line 58
Class
- RevertOverridesForm
- Reverts the overridden layout to the defaults.
Namespace
Drupal\layout_builder\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('layout_builder.tempstore_repository'), $container->get('messenger'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.