You are here

public function SubscriberInterface::getUserId in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/SubscriberInterface.php \Drupal\simplenews\SubscriberInterface::getUserId()
  2. 3.x 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 62

Class

SubscriberInterface
Provides an interface defining a contant message entity

Namespace

Drupal\simplenews

Code

public function getUserId();