You are here

public function AuditFilesMergeFileReferences::__construct in Audit Files 4.x

Same name and namespace in other branches
  1. 8.3 src/Form/AuditFilesMergeFileReferences.php \Drupal\auditfiles\Form\AuditFilesMergeFileReferences::__construct()
  2. 8.2 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 65

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;
}