You are here

public function AuditFilesMergeFileReferences::__construct in Audit Files 8.3

Same name and namespace in other branches
  1. 8.2 src/Form/AuditFilesMergeFileReferences.php \Drupal\auditfiles\Form\AuditFilesMergeFileReferences::__construct()
  2. 4.x src/Form/AuditFilesMergeFileReferences.php \Drupal\auditfiles\Form\AuditFilesMergeFileReferences::__construct()

Class Constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config Factory object.

\Drupal\Core\Pager\PagerManagerInterface $pager_manager: Pager Manager service.

\Drupal\auditfiles\ServiceAuditFilesMergeFileReferences $merge_file_references: ServiceAuditFilesMergeFileReferences service.

\Drupal\Core\Datetime\DateFormatter $date_formatter: Date Formatter service.

File

src/Form/AuditFilesMergeFileReferences.php, line 62

Class

AuditFilesMergeFileReferences
Form for merge file references.

Namespace

Drupal\auditfiles\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, PagerManagerInterface $pager_manager, ServiceAuditFilesMergeFileReferences $merge_file_references, DateFormatter $date_formatter) {
  $this->configFactoryStorage = $config_factory;
  $this->pagerManager = $pager_manager;
  $this->mergeFileReferences = $merge_file_references;
  $this->dateFormatter = $date_formatter;
}