You are here

public function SubscriberInterface::getLangcode in Simplenews 8

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

Returns the lang code.

Return value

string The subscribers lang code.

1 method overrides SubscriberInterface::getLangcode()
Subscriber::getLangcode in src/Entity/Subscriber.php
Returns the lang code.

File

src/SubscriberInterface.php, line 87

Class

SubscriberInterface
Provides an interface defining a contant message entity

Namespace

Drupal\simplenews

Code

public function getLangcode();