You are here

public static function BreakLockForm::create in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/Form/BreakLockForm.php \Drupal\views_ui\Form\BreakLockForm::create()
  2. 9 core/modules/views_ui/src/Form/BreakLockForm.php \Drupal\views_ui\Form\BreakLockForm::create()

File

core/modules/views_ui/src/Form/BreakLockForm.php, line 48

Class

BreakLockForm
Builds the form to break the lock of an edited view.

Namespace

Drupal\views_ui\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity_type.manager'), $container
    ->get('tempstore.shared'));
}