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