SearchQuery::$type
Same name in other branches
- 7.x modules/search/search.extender.inc \SearchQuery::type
- 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::type
- 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::type
- 10 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::type
The type of search (search type).
This maps to the value of the type column in search_index, and is usually equal to the machine-readable name of the plugin or the search page.
Type: string
File
-
core/
modules/ search/ src/ SearchQuery.php, line 91
Class
- SearchQuery
- Search query extender and helper functions.
Namespace
Drupal\searchCode
protected $type;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.