You are here

public function CustomPublishingOptionPermissions::__construct in Custom Publishing Options 8

Constructs a CustomPublishingOptionPermissions instance.

Parameters

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

File

src/CustomPublishingOptionPermissions.php, line 27

Class

CustomPublishingOptionPermissions

Namespace

Drupal\custom_pub

Code

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