You are here

public function ContentModerationNotification::getTransitions in Content Moderation Notifications 8.2

Same name and namespace in other branches
  1. 8.3 src/Entity/ContentModerationNotification.php \Drupal\content_moderation_notifications\Entity\ContentModerationNotification::getTransitions()

Get the transitions for which to send this notification.

Return value

string[] The relevant transitions.

Overrides ContentModerationNotificationInterface::getTransitions

File

src/Entity/ContentModerationNotification.php, line 102

Class

ContentModerationNotification
Defines the content_moderation_notification entity.

Namespace

Drupal\content_moderation_notifications\Entity

Code

public function getTransitions() {
  return $this
    ->get('transitions');
}