You are here

public function Facet::setActiveItems in Facets 8

Overwrites the active items.

Parameters

array $values: A list of values.

Overrides FacetInterface::setActiveItems

File

src/Entity/Facet.php, line 657

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function setActiveItems(array $values) {
  $this->active_values = $values;
}