public function SubscriberInterface::setUserId in Simplenews 8
Sets the corresponding user ID.
Parameters
string $uid: The corresponding user ID.
1 method overrides SubscriberInterface::setUserId()
- Subscriber::setUserId in src/
Entity/ Subscriber.php - Sets the corresponding user ID.
File
- src/
SubscriberInterface.php, line 79
Class
- SubscriberInterface
- Provides an interface defining a contant message entity
Namespace
Drupal\simplenewsCode
public function setUserId($uid);