public function ThunderGqlsRenderer::__construct in Thunder 6.2.x
Constructs a new JsonRenderer.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.
\Drupal\Core\Render\RendererInterface $renderer: The renderer service.
\Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface $breadcrumbManager: The breadcrumb manager.
\Drupal\Core\Routing\CurrentRouteMatch $currentRouteMatch: The route match service.
\Drupal\metatag\MetatagManager $metatagManager: The metatag manager service.
\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager service.
File
- modules/
thunder_gqls/ src/ Render/ MainContent/ ThunderGqlsRenderer.php, line 85
Class
- ThunderGqlsRenderer
- Thunder GraphQL Schema content renderer.
Namespace
Drupal\thunder_gqls\Render\MainContentCode
public function __construct(ModuleHandlerInterface $moduleHandler, RendererInterface $renderer, BreadcrumbBuilderInterface $breadcrumbManager, CurrentRouteMatch $currentRouteMatch, MetatagManager $metatagManager, LanguageManagerInterface $languageManager) {
$this->renderer = $renderer;
$this->metatagManager = $metatagManager;
$this->breadcrumbManager = $breadcrumbManager;
$this->currentRouteMatch = $currentRouteMatch;
$this->moduleHandler = $moduleHandler;
$this->languageManager = $languageManager;
}