SearchQuery::EXPRESSIONS_IGNORED
Same name in other branches
- 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::EXPRESSIONS_IGNORED
- 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::EXPRESSIONS_IGNORED
- 10 core/modules/search/src/SearchQuery.php \Drupal\search\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
File
-
core/
modules/ search/ src/ SearchQuery.php, line 56
Class
- SearchQuery
- Search query extender and helper functions.
Namespace
Drupal\searchCode
const EXPRESSIONS_IGNORED = 2;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.