You are here

public function ViewUnpublishedInstallHelper::__construct in view_unpublished 8

Constructs a new ViewUnpublishedInstallHelper object.

Parameters

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

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Core\Config\CachedStorage $config_storage: The config storage service.

File

src/ViewUnpublishedInstallHelper.php, line 45

Class

ViewUnpublishedInstallHelper
Class ViewUnpublishedInstallHelper.

Namespace

Drupal\view_unpublished

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, CachedStorage $config_storage) {
  $this->entityTypeManager = $entity_type_manager;
  $this->configFactory = $config_factory;
  $this->configStorage = $config_storage;
}