public static function Upload::parseLiteral in GraphQL 8.3
Parses a node.
Parameters
mixed $node: The node to parse.
Return value
mixed The parsed node.
Overrides ScalarPluginBase::parseLiteral
File
- src/
Plugin/ GraphQL/ Scalars/ Upload/ Upload.php, line 32
Class
- Upload
- Plugin annotation @GraphQLScalar( id = "upload", name = "Upload" )
Namespace
Drupal\graphql\Plugin\GraphQL\Scalars\UploadCode
public static function parseLiteral($ast) {
throw new \LogicException('Uploaded files have to be referenced in variables.');
}