public static function SdlSchemaPluginBase::create in GraphQL 8.4
@codeCoverageIgnore
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ GraphQL/ Schema/ SdlSchemaPluginBase.php, line 63
Class
- SdlSchemaPluginBase
- Base class that can be used by schema plugins.
Namespace
Drupal\graphql\Plugin\GraphQL\SchemaCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('cache.graphql.ast'), $container
->get('module_handler'), $container
->get('plugin.manager.graphql.schema_extension'), $container
->getParameter('graphql.config'));
}