Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FileEventSubscriber.php

function 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) {
}
RSS feed
Powered by Drupal