public function KanbanLog::getWorkflow in Content Planner 8
Gets the Workflow.
Return value
\Drupal\workflows\Entity\Workflow Returns the workflow object.
File
- modules/
content_kanban/ src/ Entity/ KanbanLog.php, line 196
Class
- KanbanLog
- Defines the Kanban Log entity.
Namespace
Drupal\content_kanban\EntityCode
public function getWorkflow() {
return $this
->get('workflow_id')->entity;
}