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

Code

protected $type;