You are here

public function Facet::setHardLimit in Facets 8

Sets the hard limit of facet items.

Parameters

int $limit: Hard limit of the facet.

Overrides FacetInterface::setHardLimit

File

src/Entity/Facet.php, line 597

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function setHardLimit($limit) {
  return $this->hard_limit = $limit;
}