function FileEventSubscriber::__construct

Same name in other branches
  1. 10 core/modules/file/src/EventSubscriber/FileEventSubscriber.php \Drupal\file\EventSubscriber\FileEventSubscriber::__construct()

Constructs a new file event listener.

Parameters

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

\Drupal\Component\Transliteration\TransliterationInterface $transliteration: The transliteration service.

\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager.

File

core/modules/file/src/EventSubscriber/FileEventSubscriber.php, line 29

Class

FileEventSubscriber
Sanitizes uploaded filenames.

Namespace

Drupal\file\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $configFactory, TransliterationInterface $transliteration, LanguageManagerInterface $languageManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.