You are here

public static function ServerForm::create in GraphQL 8.4

@codeCoverageIgnore

Overrides FormBase::create

File

src/Form/ServerForm.php, line 62

Class

ServerForm
Admin form to set up a GraphQL server configuration entity.

Namespace

Drupal\graphql\Form

Code

public static function create(ContainerInterface $container) : self {
  return new static($container
    ->get('plugin.manager.graphql.schema'), $container
    ->get('router.request_context'));
}