Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SearchQuery.php

SearchQuery::EXPRESSIONS_IGNORED

Indicates that part of the search expression was ignored.

To prevent Denial of Service attacks, only \Drupal::config('search.settings')->get('and_or_limit') expressions (positive keywords, phrases, negative keywords) are allowed; this flag indicates that expressions existed past that limit and they were removed.

See also

SearchQuery::getStatus()

File

core/modules/search/src/SearchQuery.php, line 56

Class

SearchQuery
Search query extender and helper functions.

Namespace

Drupal\search

Code

const EXPRESSIONS_IGNORED = 2;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal