You are here

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

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

Class constructor.

Parameters

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

Drupal\auditfiles\ServiceAuditFilesManagedNotUsed $files_managed_not_used: The auditfiles.managed_not_used 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/AuditFilesManagedNotUsed.php, line 64

Class

AuditFilesManagedNotUsed
Form for Managed not used functionality.

Namespace

Drupal\auditfiles\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ServiceAuditFilesManagedNotUsed $files_managed_not_used, PagerManagerInterface $pager_manager, EntityTypeManagerInterface $entity_type_manager) {
  $this->configFactoryStorage = $config_factory;
  $this->filesManagedNotUsed = $files_managed_not_used;
  $this->pagerManager = $pager_manager;
  $this->entityTypeManager = $entity_type_manager;
}