public function MaestroProcess::getOwner in Maestro 3.x
Same name and namespace in other branches
- 8.2 src/Entity/MaestroProcess.php \Drupal\maestro\Entity\MaestroProcess::getOwner()
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
Overrides EntityOwnerInterface::getOwner
File
- src/
Entity/ MaestroProcess.php, line 83
Class
- MaestroProcess
- Defines the MaestroProcess entity.
Namespace
Drupal\maestro\EntityCode
public function getOwner() {
return $this
->get('initiator_uid')->entity;
}