You are here

public function PathautoSettingsCacheTag::__construct in Pathauto 8

Constructs a PathautoSettingsCacheTag object.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

\Drupal\pathauto\AliasTypeManager $alias_type_manager: The alias type manager.

File

src/EventSubscriber/PathautoSettingsCacheTag.php, line 36

Class

PathautoSettingsCacheTag
A subscriber to clear fielddefinition cache when saving pathauto settings.

Namespace

Drupal\pathauto\EventSubscriber

Code

public function __construct(EntityFieldManagerInterface $entity_field_manager, AliasTypeManager $alias_type_manager) {
  $this->entityFieldManager = $entity_field_manager;
  $this->aliasTypeManager = $alias_type_manager;
}