You are here

public function ServiceAuditFilesMergeFileReferences::__construct in Audit Files 8.2

Same name and namespace in other branches
  1. 8.3 src/ServiceAuditFilesMergeFileReferences.php \Drupal\auditfiles\ServiceAuditFilesMergeFileReferences::__construct()

Define constructor for string translation.

File

src/ServiceAuditFilesMergeFileReferences.php, line 67

Class

ServiceAuditFilesMergeFileReferences
Define all methods that used in merge file references functionality.

Namespace

Drupal\auditfiles

Code

public function __construct(TranslationInterface $translation, ConfigFactory $config_factory, Connection $connection, DateFormatter $date_formatter, FileSystemInterface $file_system, EntityTypeManagerInterface $entity_type_manager) {
  $this->stringTranslation = $translation;
  $this->configFactory = $config_factory;
  $this->connection = $connection;
  $this->dateFormatter = $date_formatter;
  $this->fileSystem = $file_system;
  $this->entityTypeManager = $entity_type_manager;
}