| 1 | <?php |
||
| 5 | trait TypeValidationTrait { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * Retrieves the referenced plugin instance. |
||
| 9 | * |
||
| 10 | * @return \Drupal\graphql\Plugin\GraphQL\TypeSystemPluginInterface |
||
| 11 | * The referenced plugin instance. |
||
| 12 | */ |
||
| 13 | abstract public function getPlugin(); |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritdoc} |
||
| 17 | */ |
||
| 18 | public function isValidValue($value) { |
||
| 25 | |||
| 26 | } |