You are here

public function SdlSchemaExtensionPluginBase::getBaseDefinition in GraphQL 8.4

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

Overrides SchemaExtensionPluginInterface::getBaseDefinition

File

src/Plugin/GraphQL/SchemaExtension/SdlSchemaExtensionPluginBase.php, line 67

Class

SdlSchemaExtensionPluginBase
Base class that can be used for schema extension plugins.

Namespace

Drupal\graphql\Plugin\GraphQL\SchemaExtension

Code

public function getBaseDefinition() {
  return $this
    ->loadDefinitionFile('base');
}