You are here

public function SearchApiQuery::getFulltextFields in Search API 8

Retrieves the fulltext fields that will be searched for the search keys.

Return value

string[]|null An array containing the fields that should be searched for the search keys.

See also

setFulltextFields()

\Drupal\search_api\Query\QueryInterface::getFulltextFields()

File

src/Plugin/views/query/SearchApiQuery.php, line 1384

Class

SearchApiQuery
Defines a Views query class for searching on Search API indexes.

Namespace

Drupal\search_api\Plugin\views\query

Code

public function &getFulltextFields() {
  if (!$this
    ->shouldAbort()) {
    return $this->query
      ->getFulltextFields();
  }
  $ret = NULL;
  return $ret;
}