You are here

public function Result::setActiveState in Facets 8

Indicates that the value is active (selected).

Parameters

bool $active: A boolean indicating the active state.

Overrides ResultInterface::setActiveState

File

src/Result/Result.php, line 126

Class

Result
The default implementation of the result interfaces.

Namespace

Drupal\facets\Result

Code

public function setActiveState($active) {
  $this->active = $active;
}