public function NotificationInformationInterface::getWorkflow in Content Moderation Notifications 8.2
Same name and namespace in other branches
- 8.3 src/NotificationInformationInterface.php \Drupal\content_moderation_notifications\NotificationInformationInterface::getWorkflow()
Checks for the workflow object of the moderated entity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity we may be moderating.
Return value
mixed The workflow object if the entity is moderated, FALSE otherwise.
1 method overrides NotificationInformationInterface::getWorkflow()
- NotificationInformation::getWorkflow in src/
NotificationInformation.php - Checks for the workflow object of the moderated entity.
File
- src/
NotificationInformationInterface.php, line 33
Class
- NotificationInformationInterface
- Interface for notification_information service.
Namespace
Drupal\content_moderation_notificationsCode
public function getWorkflow(EntityInterface $entity);