You are here

public function ModerationInformationInterface::isModeratedEntity in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/content_moderation/src/ModerationInformationInterface.php \Drupal\content_moderation\ModerationInformationInterface::isModeratedEntity()

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.

1 method overrides ModerationInformationInterface::isModeratedEntity()
ModerationInformation::isModeratedEntity in core/modules/content_moderation/src/ModerationInformation.php
Determines if an entity is moderated.

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);