You are here

EntityQueryRevisionMode.php in GraphQL 8.3

File

modules/graphql_core/src/Plugin/GraphQL/Enums/EntityQuery/EntityQueryRevisionMode.php
View source
<?php

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

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

/**
 * @GraphQLEnum(
 *   id = "entity_query_revision_mode",
 *   name = "EntityQueryRevisionMode",
 *   values = {
 *     "DEFAULT" = {
 *       "value" = "default",
 *       "description" = @Translation("Loads the current (default) revisions."),
 *     },
 *     "ALL" = {
 *       "value" = "all",
 *       "description" = @Translation("Loads all revisions."),
 *     },
 *     "LATEST" = {
 *       "value" = "latest",
 *       "description" = @Translation("Loads latest revision."),
 *     }
 *   }
 * )
 */
class EntityQueryRevisionMode extends EnumPluginBase {

}

Classes

Namesort descending Description
EntityQueryRevisionMode Plugin annotation @GraphQLEnum( id = "entity_query_revision_mode", name = "EntityQueryRevisionMode", values = { "DEFAULT" = { "value" = "default", "description" = @Translation("Loads the current (default) revisions."), }, …