function RevertOverridesForm::create
Overrides FormBase::create
File
-
core/
modules/ layout_builder/ src/ Form/ RevertOverridesForm.php, line 61
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.