You are here

public function EasyBreadcrumbStructuredDataJsonLd::__construct in Easy Breadcrumb 8

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

EasyBreadcrumbStructuredDataJsonLd constructor.

Parameters

\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.

File

src/EasyBreadcrumbStructuredDataJsonLd.php, line 48

Class

EasyBreadcrumbStructuredDataJsonLd
Class EasyBreadcrumbStructuredDataJsonLd.

Namespace

Drupal\easy_breadcrumb

Code

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