You are here

public function ParseModePluginBase::setConjunction in Search API 8

Sets the default conjunction.

Parameters

string $conjunction: The default conjunction to be used when parsing keywords. Can be either "AND" or "OR".

Return value

$this

Overrides ParseModeInterface::setConjunction

File

src/ParseMode/ParseModePluginBase.php, line 76

Class

ParseModePluginBase
Defines a base class from which other parse mode classes may extend.

Namespace

Drupal\search_api\ParseMode

Code

public function setConjunction($conjunction) {
  $this->conjunction = $conjunction;
  return $this;
}