You are here

constant TermFieldAutocomplete::MAX_ITEMS in GraphQL 8.4

The default maximum number of items to be capped to prevent DDOS attacks.

File

src/Plugin/GraphQL/DataProducer/Taxonomy/TermFieldAutocomplete.php, line 59

Class

TermFieldAutocomplete
Gets term items matching the given string in given field's vocabularies.

Namespace

Drupal\graphql\Plugin\GraphQL\DataProducer\Taxonomy

Code

const MAX_ITEMS = 100;