public ModerationInformation::__construct(EntityTypeManagerInterface $entity_type_manager)
Creates a new ModerationInformation instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Session\AccountInterface $current_user: The current user.
File
- core/modules/content_moderation/src/ModerationInformation.php, line 30
Class
- ModerationInformation
- General service for moderation-related questions about Entity API.
Namespace
Drupal\content_moderation
Code
public function __construct(EntityTypeManagerInterface $entity_type_manager) { $this->entityTypeManager = $entity_type_manager; }
Please login to continue.