1. 8.5.x core/modules/search/src/SearchQuery.php SearchQuery::type
  2. 8.0.x core/modules/search/src/SearchQuery.php SearchQuery::type
  3. 8.1.x core/modules/search/src/SearchQuery.php SearchQuery::type
  4. 8.2.x core/modules/search/src/SearchQuery.php SearchQuery::type
  5. 8.3.x core/modules/search/src/SearchQuery.php SearchQuery::type
  6. 8.4.x core/modules/search/src/SearchQuery.php SearchQuery::type
  7. 8.6.x core/modules/search/src/SearchQuery.php SearchQuery::type
  8. 7.x modules/search/search.extender.inc SearchQuery::type

Type of search (search module).

This maps to the value of the type column in search_index, and is equal to the machine-readable name of the module that implements hook_search_info().

Type: string

File

modules/search/search.extender.inc, line 44
Search query extender and helper functions.

Class

SearchQuery
Do a query on the full-text search index for a word or words.

Code

protected $type;