public function CoreViewsExposedFilter::isRenderedInCurrentRequest in Core Views 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 CoreViewsFacetSourceBase::isRenderedInCurrentRequest
File
- src/
Plugin/ facets/ facet_source/ CoreViewsExposedFilter.php, line 96
Class
- CoreViewsExposedFilter
- Represents a facet source of the core views with exposed filters.
Namespace
Drupal\core_views_facets\Plugin\facets\facet_sourceCode
public function isRenderedInCurrentRequest() {
if (parent::isRenderedInCurrentRequest()) {
return TRUE;
}
if (drupal_static('core_views_exposed_filter_ajax_rendered_status')) {
return TRUE;
}
return FALSE;
}