public ModerationInformationInterface::canModerateEntitiesOfEntityType(EntityTypeInterface $entity_type)
Determines if an entity type can have moderated entities.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: An entity type object.
Return value
bool TRUE if this entity type can have moderated entities, FALSE otherwise.
File
- core/modules/content_moderation/src/ModerationInformationInterface.php, line 34
Class
- ModerationInformationInterface
- Interface for moderation_information service.
Namespace
Drupal\content_moderation
Code
public function canModerateEntitiesOfEntityType(EntityTypeInterface $entity_type);
Please login to continue.