You are here

public function QueryStringCreated::getFacet in Facets 8

Get the facet.

Only to be used as context, because changing this will not result in any changes to the final url.

Return value

\Drupal\facets\FacetInterface

File

src/Event/QueryStringCreated.php, line 139

Class

QueryStringCreated
Implements the query string created event.

Namespace

Drupal\facets\Event

Code

public function getFacet() {
  return $this->facet;
}