public function PhotosUpload::__construct in Album Photos 8.5
Same name and namespace in other branches
- 6.0.x src/PhotosUpload.php \Drupal\photos\PhotosUpload::__construct()
Creates a new AliasCleaner.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager service.
\Drupal\Core\File\FileSystem $file_system: The file system service.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager.
\Drupal\Component\Transliteration\TransliterationInterface $transliteration: The transliteration service.
File
- src/
PhotosUpload.php, line 95
Class
- PhotosUpload
- Functions to help with uploading images to albums.
Namespace
Drupal\photosCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_manager, FileSystem $file_system, MessengerInterface $messenger, ModuleHandlerInterface $module_handler, StreamWrapperManagerInterface $stream_wrapper_manager, TransliterationInterface $transliteration) {
$this->configFactory = $config_factory;
$this->entityTypeManager = $entity_manager;
$this->fileSystem = $file_system;
$this->messenger = $messenger;
$this->moduleHandler = $module_handler;
$this->streamWrapperManager = $stream_wrapper_manager;
$this->transliteration = $transliteration;
}