You are here

EntityQueryBundleMode.php in GraphQL 8.3

File

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

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

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

/**
 * @GraphQLEnum(
 *   id = "entity_query_bundle_mode",
 *   name = "EntityQueryBundleMode",
 *   values = {
 *     "SAME" = {
 *       "value" = "same",
 *       "description" = @Translation("Loads only entities that share the same bundle with the parent entity."),
 *     },
 *     "ALL" = {
 *       "value" = "all",
 *       "description" = @Translation("Loads entities across all bundles."),
 *     }
 *   }
 * )
 */
class EntityQueryBundleMode extends EnumPluginBase {

}

Classes

Namesort descending Description
EntityQueryBundleMode Plugin annotation @GraphQLEnum( id = "entity_query_bundle_mode", name = "EntityQueryBundleMode", values = { "SAME" = { "value" = "same", "description" = @Translation("Loads only entities that share the same bundle with the…