You are here

public function ModerationInformation::__construct in Config Entity Revisions 8.2

Creates a new ModerationInformation instance.

Parameters

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

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundle_info: The bundle information service.

Overrides ModerationInformation::__construct

File

src/ModerationInformation.php, line 45

Class

ModerationInformation
Class ModerationInformation.

Namespace

Drupal\config_entity_revisions

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $bundle_info) {
  $this->entityTypeManager = $entity_type_manager;
  $this->bundleInfo = $bundle_info;
}