function HtmxContentViewSubscriber::getHtmxRenderer
Gets the HtmxRenderer service.
Return value
\Drupal\Core\Render\MainContent\HtmxRenderer The service instantiated by the autowire closure.
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ HtmxContentViewSubscriber.php, line 55
Class
- HtmxContentViewSubscriber
- View subscriber rendering main content from `_htmx_route` option routes.
Namespace
Drupal\Core\EventSubscriberCode
protected function getHtmxRenderer() : MainContentRendererInterface {
return ($this->htmxRenderer)();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.