public function WidgetPluginInterface::supportsFacet in Facets 8
Checks if the facet is supported by this processor.
Reasons why this would be unsupported can be chosen by the processor.
Parameters
\Drupal\facets\FacetInterface $facet: The facet to check for.
Return value
bool Returns true when allowed, false otherwise.
See also
\Drupal\facets\Processor\ProcessorInterface::supportsFacet
1 method overrides WidgetPluginInterface::supportsFacet()
- WidgetPluginBase::supportsFacet in src/
Widget/ WidgetPluginBase.php - Checks if the facet is supported by this processor.
File
- src/
Widget/ WidgetPluginInterface.php, line 66
Class
- WidgetPluginInterface
- Provides an interface describing the a facet widgets.
Namespace
Drupal\facets\WidgetCode
public function supportsFacet(FacetInterface $facet);