public function Workflow::getOwner in Forms Steps 8
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
Overrides EntityOwnerInterface::getOwner
File
- src/
Entity/ Workflow.php, line 55
Class
- Workflow
- Defines the Workflow entity.
Namespace
Drupal\forms_steps\EntityCode
public function getOwner() {
return $this
->get('user_id')->entity;
}