public function NotificationInformationInterface::isModeratedEntity in Content Moderation Notifications 8.2
Same name and namespace in other branches
- 8.3 src/NotificationInformationInterface.php \Drupal\content_moderation_notifications\NotificationInformationInterface::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 NotificationInformationInterface::isModeratedEntity()
- NotificationInformation::isModeratedEntity in src/
NotificationInformation.php - Determines if an entity is moderated.
File
- src/
NotificationInformationInterface.php, line 21
Class
- NotificationInformationInterface
- Interface for notification_information service.
Namespace
Drupal\content_moderation_notificationsCode
public function isModeratedEntity(EntityInterface $entity);