public function NotificationInformationInterface::getNotifications in Content Moderation Notifications 8.3
Same name and namespace in other branches
- 8.2 src/NotificationInformationInterface.php \Drupal\content_moderation_notifications\NotificationInformationInterface::getNotifications()
Gets the list of notification based on the current transition.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity we may be moderating.
Return value
\Drupal\content_moderation_notifications\ContentModerationNotificationInterface[] An array containing the notifications list.
1 method overrides NotificationInformationInterface::getNotifications()
- NotificationInformation::getNotifications in src/
NotificationInformation.php - Gets the list of notification based on the current transition.
File
- src/
NotificationInformationInterface.php, line 66
Class
- NotificationInformationInterface
- Interface for notification_information service.
Namespace
Drupal\content_moderation_notificationsCode
public function getNotifications(EntityInterface $entity);