function FormOperations::create

Same name in other branches
  1. 9 core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::create()
  2. 10 core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::create()
  3. 11.x core/modules/workspaces/src/FormOperations.php \Drupal\workspaces\FormOperations::create()

Overrides ContainerInjectionInterface::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'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.