You are here

public function Facet::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.

Overrides FacetInterface::setFacetSourceId

File

src/Entity/Facet.php, line 699

Class

Facet
Defines the facet configuration entity.

Namespace

Drupal\facets\Entity

Code

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