You are here

public function Facet::setWeight in Facets 8

Sets the weight of the facet.

Parameters

int $weight: Weight of the facet.

Overrides FacetInterface::setWeight

File

src/Entity/Facet.php, line 951

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function setWeight($weight) {
  $this->weight = $weight;
}