You are here

public function Result::isActive in Facets 8

Returns true if the value is active (selected).

Return value

bool A boolean indicating the active state.

Overrides ResultInterface::isActive

File

src/Result/Result.php, line 133

Class

Result
The default implementation of the result interfaces.

Namespace

Drupal\facets\Result

Code

public function isActive() {
  return $this->active;
}