You are here

public function SubscriberInterface::getUserId in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 src/SubscriberInterface.php \Drupal\simplenews\SubscriberInterface::getUserId()
  2. 8 src/SubscriberInterface.php \Drupal\simplenews\SubscriberInterface::getUserId()

Returns corresponding user ID.

Return value

int The corresponding user ID.

1 method overrides SubscriberInterface::getUserId()
Subscriber::getUserId in src/Entity/Subscriber.php
Returns corresponding user ID.

File

src/SubscriberInterface.php, line 61

Class

SubscriberInterface
Simplenews subscriber entity interface.

Namespace

Drupal\simplenews

Code

public function getUserId();