public function ServiceAuditFilesUsedNotManaged::__construct in Audit Files 8.3
Same name and namespace in other branches
- 8.2 src/ServiceAuditFilesUsedNotManaged.php \Drupal\auditfiles\ServiceAuditFilesUsedNotManaged::__construct()
- 4.x src/ServiceAuditFilesUsedNotManaged.php \Drupal\auditfiles\ServiceAuditFilesUsedNotManaged::__construct()
Define constructor for string translation.
Parameters
\Drupal\Core\StringTranslation\TranslationInterface $translation: A Tranlation Serevice object.
\Drupal\Core\Config\ConfigFactory $config_factory: A configuration factory object.
\Drupal\Core\Database\Connection $connection: A database connection for queries.
File
- src/
ServiceAuditFilesUsedNotManaged.php, line 50
Class
- ServiceAuditFilesUsedNotManaged
- Form for Files used not managed functionality.
Namespace
Drupal\auditfilesCode
public function __construct(TranslationInterface $translation, ConfigFactory $config_factory, Connection $connection) {
$this->stringTranslation = $translation;
$this->configFactory = $config_factory;
$this->connection = $connection;
}