You are here

public function NotificationInformationInterface::isModeratedEntity in Content Moderation Notifications 8.3

Same name and namespace in other branches
  1. 8.2 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 22

Class

NotificationInformationInterface
Interface for notification_information service.

Namespace

Drupal\content_moderation_notifications

Code

public function isModeratedEntity(EntityInterface $entity);