public function UcWishlist::getUserId in UC Wish List 8
Renders the user id of the owner.
Return value
int id of user.
Overrides UcWishlistInterface::getUserId
File
- src/
Entity/ UcWishlist.php, line 211
Class
- UcWishlist
- Defines the user entity class.
Namespace
Drupal\uc_wishlist\EntityCode
public function getUserId() {
return $this
->get('uid')->target_id;
}