- Issue created by @webflo
- Merge request !249Swap getBreadcrumbSettings and isRenderedInCurrentRequest → (Open) created by webflo
Most facets don't have the breadcrumb plugin enabled, but "::isRenderedInCurrentRequest" is called first. This is quite expensive (on sites with layout builder enabled even more, see \Drupal\search_api\Plugin\search_api\display\ViewsBlock::isRenderedInCurrentRequest)
Its faster to lookup the config first, and call ::isRenderedInCurrentRequest afterwards.
Active
2.0
Code
It affects performance. It is often combined with the Needs profiling tag.