You are here

public function CoreViewsFacetSourceBase::getDataDefinition in Core Views Facets 8

Throws

\Drupal\facets\Exception\Exception

Overrides FacetSourcePluginInterface::getDataDefinition

2 methods override CoreViewsFacetSourceBase::getDataDefinition()
CoreViewsContextualFilter::getDataDefinition in src/Plugin/facets/facet_source/CoreViewsContextualFilter.php
CoreViewsExposedFilter::getDataDefinition in src/Plugin/facets/facet_source/CoreViewsExposedFilter.php

File

src/Plugin/facets/facet_source/CoreViewsFacetSourceBase.php, line 370

Class

CoreViewsFacetSourceBase
Provide common functions for core Views based facet sources.

Namespace

Drupal\core_views_facets\Plugin\facets\facet_source

Code

public function getDataDefinition($field_name) {
  throw new Exception("Field with name {$field_name} does not have a definition");
}