You are here

public function Facet::getHardLimit in Facets 8

Returns the limit number for facet items.

Overrides FacetInterface::getHardLimit

File

src/Entity/Facet.php, line 604

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

public function getHardLimit() {
  return $this->hard_limit ?: 0;
}