Same name and namespace in other branches
  1. 8.x-1.x src/EasyBreadcrumbStructuredDataJsonLd.php \Drupal\easy_breadcrumb\EasyBreadcrumbStructuredDataJsonLd::__construct()

EasyBreadcrumbStructuredDataJsonLd constructor.

Paramètres

\Drupal\easy_breadcrumb\EasyBreadcrumbBuilder $easy_breadcrumb_builder: The Easy Breadcrumb builder.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler;

Fichier

src/EasyBreadcrumbStructuredDataJsonLd.php, line 58

Classe

EasyBreadcrumbStructuredDataJsonLd
Class EasyBreadcrumbStructuredDataJsonLd.

Namespace

Drupal\easy_breadcrumb

Code

public function __construct(EasyBreadcrumbBuilder $easy_breadcrumb_builder, ConfigFactoryInterface $config_factory, RouteMatchInterface $route_match, ModuleHandlerInterface $module_handler) {
    $this->easyBreadcrumbBuilder = $easy_breadcrumb_builder;
    $this->configFactory = $config_factory;
    $this->routeMatch = $route_match;
    $this->moduleHandler = $module_handler;
}