public function RedirectPathSubscriber::__construct in Tome 8
Constructs the RedirectPathSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
File
- modules/
tome_static/ src/ EventSubscriber/ RedirectPathSubscriber.php, line 54
Class
- RedirectPathSubscriber
- Adds redirect placeholder paths to the list of paths to export.
Namespace
Drupal\tome_static\EventSubscriberCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->languageManager = $language_manager;
}