public function SubscriberInterface::setLangcode in Simplenews 8
Same name and namespace in other branches
- 8.2 src/SubscriberInterface.php \Drupal\simplenews\SubscriberInterface::setLangcode()
- 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\simplenewsCode
public function setLangcode($langcode);