public function FacetSourcePluginBase::isRenderedInCurrentRequest in Facets 8
Returns true if the Facet source is being rendered in the current request.
This function will define if all facets for this facet source are shown when facet source visibility: "being rendered" is configured in the facet visibility settings.
Return value
bool True when the facet is rendered on the same page.
Overrides FacetSourcePluginInterface::isRenderedInCurrentRequest
1 method overrides FacetSourcePluginBase::isRenderedInCurrentRequest()
- SearchApiDisplay::isRenderedInCurrentRequest in src/
Plugin/ facets/ facet_source/ SearchApiDisplay.php - Returns true if the Facet source is being rendered in the current request.
File
- src/
FacetSource/ FacetSourcePluginBase.php, line 100
Class
- FacetSourcePluginBase
- Defines a base class from which other facet sources may extend.
Namespace
Drupal\facets\FacetSourceCode
public function isRenderedInCurrentRequest() {
return FALSE;
}