SearchQuery::$type

Same name in other branches
  1. 9 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::type
  2. 8.9.x core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::type
  3. 10 core/modules/search/src/SearchQuery.php \Drupal\search\SearchQuery::type
  4. 11.x core/modules/search/src/SearchQuery.php \Drupal\search\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

Class

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

Code

protected $type;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.