You are here

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

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

Class Constructor.

Parameters

Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration service.

Drupal\auditfiles\ServiceAuditFilesUsedNotReferenced $files_used_not_referenced: The auditfiles.used_not_referenced service.

Drupal\Core\Pager\PagerManagerInterface $pager_manager: The pager.manager service.

Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity_type.manager service.

File

src/Form/AuditFilesUsedNotReferenced.php, line 64

Class

AuditFilesUsedNotReferenced
File used but not referenced functionality.

Namespace

Drupal\auditfiles\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ServiceAuditFilesUsedNotReferenced $files_used_not_referenced, PagerManagerInterface $pager_manager, EntityTypeManagerInterface $entity_type_manager) {
  $this->configFactoryStorage = $config_factory;
  $this->filesUsedNotReferenced = $files_used_not_referenced;
  $this->pagerManager = $pager_manager;
  $this->entityTypeManager = $entity_type_manager;
}