src/Plugin/GraphQL/InputTypes/InputTypePluginBase.php 1 location
|
@@ 36-44 (lines=9) @@
|
33 |
|
/** |
34 |
|
* {@inheritdoc} |
35 |
|
*/ |
36 |
|
public function getDefinition() { |
37 |
|
$definition = $this->getPluginDefinition(); |
38 |
|
|
39 |
|
return [ |
40 |
|
'name' => $definition['name'], |
41 |
|
'description' => $this->buildDescription($definition), |
42 |
|
'fields' => $this->buildFields($definition), |
43 |
|
] + $this->buildCacheMetadata($definition); |
44 |
|
} |
45 |
|
|
46 |
|
/** |
47 |
|
* @param $definition |
src/Plugin/GraphQL/Interfaces/InterfacePluginBase.php 1 location
|
@@ 47-55 (lines=9) @@
|
44 |
|
/** |
45 |
|
* {@inheritdoc} |
46 |
|
*/ |
47 |
|
public function getDefinition() { |
48 |
|
$definition = $this->getPluginDefinition(); |
49 |
|
|
50 |
|
return [ |
51 |
|
'name' => $definition['name'], |
52 |
|
'description' => $this->buildDescription($definition), |
53 |
|
'interfaces' => $this->buildInterfaces($definition), |
54 |
|
] + $this->buildCacheMetadata($definition); |
55 |
|
} |
56 |
|
|
57 |
|
/** |
58 |
|
* @param $definition |