You are here

public function SubscriberInterface::getLangcode in Simplenews 3.x

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

Class

SubscriberInterface
Simplenews subscriber entity interface.

Namespace

Drupal\simplenews

Code

public function getLangcode();