MutationPluginInterface.php in GraphQL 8.3
Namespace
Drupal\graphql\PluginFile
src/Plugin/MutationPluginInterface.phpView source
<?php
namespace Drupal\graphql\Plugin;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Component\Plugin\DerivativeInspectionInterface;
interface MutationPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
/**
* @param \Drupal\graphql\Plugin\SchemaBuilderInterface $builder
* @param \Drupal\graphql\Plugin\MutationPluginManager $manager
* @param $definition
* @param $id
*
* @return mixed
*/
public static function createInstance(SchemaBuilderInterface $builder, MutationPluginManager $manager, $definition, $id);
/**
* Returns the plugin's type or field definition for the schema.
*
* @return array
* The type or field definition of the plugin.
*/
public function getDefinition();
}
Interfaces
Name | Description |
---|---|
MutationPluginInterface |