You are here

public function SubscriberInterface::setLangcode in Simplenews 3.x

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

Sets the lang code.

Parameters

string $langcode: The subscribers lang code.

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

File

src/SubscriberInterface.php, line 86

Class

SubscriberInterface
Simplenews subscriber entity interface.

Namespace

Drupal\simplenews

Code

public function setLangcode($langcode);