public function MaestroProcessVariables::getOwnerId in Maestro 3.x
Same name and namespace in other branches
- 8.2 src/Entity/MaestroProcessVariables.php \Drupal\maestro\Entity\MaestroProcessVariables::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/ MaestroProcessVariables.php, line 87
Class
- MaestroProcessVariables
- Defines the MaestroProcessVariables entity.
Namespace
Drupal\maestro\EntityCode
public function getOwnerId() {
return $this
->get('user_id')->target_id;
}