You are here

EntityQuerySortInput.php in GraphQL 8.3

File

modules/graphql_core/src/Plugin/GraphQL/InputTypes/EntityQuery/EntityQuerySortInput.php
View source
<?php

namespace Drupal\graphql_core\Plugin\GraphQL\InputTypes\EntityQuery;

use Drupal\graphql\Plugin\GraphQL\InputTypes\InputTypePluginBase;

/**
 * @GraphQLInputType(
 *   id = "entity_query_sort_input",
 *   name = "EntityQuerySortInput",
 *   fields = {
 *     "field" = "String!",
 *     "direction" = {
 *       "type" = "SortOrder",
 *       "default" = "DESC"
 *     },
 *     "language" = "LanguageId"
 *   }
 * )
 */
class EntityQuerySortInput extends InputTypePluginBase {

}

Classes

Namesort descending Description
EntityQuerySortInput Plugin annotation @GraphQLInputType( id = "entity_query_sort_input", name = "EntityQuerySortInput", fields = { "field" = "String!", "direction" = { "type" = "SortOrder", "default" = "DESC" }, "language" =…