You are here

public function SynonymInterface::setActive in Search API Synonym 8

Sets the active status of a Synonym.

Parameters

bool $active: TRUE to set this Synonym to active, FALSE to set it to not active.

Return value

\Drupal\search_api_synonym\SynonymInterface The called Synonym entity.

1 method overrides SynonymInterface::setActive()
Synonym::setActive in src/Entity/Synonym.php
Sets the active status of a Synonym.

File

src/SynonymInterface.php, line 123

Class

SynonymInterface
Provides an interface for defining Synonym entities.

Namespace

Drupal\search_api_synonym

Code

public function setActive($active);