You are here

public function SubscriberInterface::setLangcode in Simplenews 8

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

Class

SubscriberInterface
Provides an interface defining a contant message entity

Namespace

Drupal\simplenews

Code

public function setLangcode($langcode);