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
Namespace
Drupal\custom_pubCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}