public ModerationInformationInterface::isModeratedEntity(EntityInterface $entity)
Determines if an entity is moderated.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity we may be moderating.
Return value
bool TRUE if this entity is moderated, FALSE otherwise.
File
- core/modules/content_moderation/src/ModerationInformationInterface.php, line 23
Class
- ModerationInformationInterface
- Interface for moderation_information service.
Namespace
Drupal\content_moderation
Code
public function isModeratedEntity(EntityInterface $entity);
Please login to continue.