You are here

interface MutationPluginInterface in GraphQL 8.3

Hierarchy

Expanded class hierarchy of MutationPluginInterface

All classes that implement MutationPluginInterface

1 file declares its use of MutationPluginInterface
MutationPluginBase.php in src/Plugin/GraphQL/Mutations/MutationPluginBase.php
1 string reference to 'MutationPluginInterface'
graphql.services.yml in ./graphql.services.yml
graphql.services.yml

File

src/Plugin/MutationPluginInterface.php, line 8

Namespace

Drupal\graphql\Plugin
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
DerivativeInspectionInterface::getBaseId public function Gets the base_plugin_id of the plugin instance. 1
DerivativeInspectionInterface::getDerivativeId public function Gets the derivative_id of the plugin instance. 1
MutationPluginInterface::createInstance public static function 1
MutationPluginInterface::getDefinition public function Returns the plugin's type or field definition for the schema. 1
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2