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