You are here

public static function FormOperations::create in Drupal 10

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

File

core/modules/workspaces/src/FormOperations.php, line 40

Class

FormOperations
Defines a class for reacting to form operations.

Namespace

Drupal\workspaces

Code

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