You are here

SortOrder.php in GraphQL 8.3

File

modules/graphql_core/src/Plugin/GraphQL/Enums/Common/SortOrder.php
View source
<?php

namespace Drupal\graphql_core\Plugin\GraphQL\Enums\Common;

use Drupal\graphql\Plugin\GraphQL\Enums\EnumPluginBase;

/**
 * @GraphQLEnum(
 *   id = "sort_order",
 *   name = "SortOrder",
 *   values = {
 *     "ASC" = "ASC",
 *     "DESC" = "DESC"
 *   }
 * )
 */
class SortOrder extends EnumPluginBase {

}

Classes

Namesort descending Description
SortOrder Plugin annotation @GraphQLEnum( id = "sort_order", name = "SortOrder", values = { "ASC" = "ASC", "DESC" = "DESC" } )