public function MaestroProcess::getOwnerId in Maestro 3.x
Same name and namespace in other branches
- 8.2 src/Entity/MaestroProcess.php \Drupal\maestro\Entity\MaestroProcess::getOwnerId()
Returns the entity owner's user ID.
Return value
int|null The owner user ID, or NULL in case the user ID field has not been set on the entity.
Overrides EntityOwnerInterface::getOwnerId
File
- src/
Entity/ MaestroProcess.php, line 90
Class
- MaestroProcess
- Defines the MaestroProcess entity.
Namespace
Drupal\maestro\EntityCode
public function getOwnerId() {
return $this
->get('initiator_uid')->target_id;
}