You are here

public function ContentModerationNotification::getWorkflowId 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::getWorkflowId()

Gets the workflow ID.

Return value

string The workflow ID.

Overrides ContentModerationNotificationInterface::getWorkflowId

File

src/Entity/ContentModerationNotification.php, line 79

Class

ContentModerationNotification
Defines the content_moderation_notification entity.

Namespace

Drupal\content_moderation_notifications\Entity

Code

public function getWorkflowId() {
  return $this
    ->get('workflow');
}