You are here

public function FacetsSummary::setFacetSourceId in Facets 8

Sets a string representation of the Facet source plugin.

This is usually the name of the Search-api view.

Parameters

string $facet_source_id: The facet source id.

Return value

$this Returns self.

Overrides FacetsSummaryInterface::setFacetSourceId

File

modules/facets_summary/src/Entity/FacetsSummary.php, line 130

Class

FacetsSummary
Defines the facet summary entity.

Namespace

Drupal\facets_summary\Entity

Code

public function setFacetSourceId($facet_source_id) {
  $this->facet_source_id = $facet_source_id;
  return $this;
}