You are here

public function TitleResolver::__construct in Easy Breadcrumb 8

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

Constructs a new EntityDisplayRebuilder.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.

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

Overrides TitleResolver::__construct

File

src/TitleResolver.php, line 41

Class

TitleResolver
Class TitleResolver.

Namespace

Drupal\easy_breadcrumb

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory) {
  $this->entityTypeManager = $entity_type_manager;
  $this->config = $config_factory
    ->get(EasyBreadcrumbConstants::MODULE_SETTINGS);
}