public function ContentModerationNotification::getRoleIds in Content Moderation Notifications 8.2
Same name and namespace in other branches
- 8.3 src/Entity/ContentModerationNotification.php \Drupal\content_moderation_notifications\Entity\ContentModerationNotification::getRoleIds()
Gets the relevant roles for this notification.
Return value
string[] The role IDs that should receive notification.
Overrides ContentModerationNotificationInterface::getRoleIds
File
- src/
Entity/ ContentModerationNotification.php, line 86
Class
- ContentModerationNotification
- Defines the content_moderation_notification entity.
Namespace
Drupal\content_moderation_notifications\EntityCode
public function getRoleIds() {
return $this
->get('roles');
}