public function SubscriberInterface::setLangcode in Simplenews 8.2
Same name and namespace in other branches
- 8 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 86
Class
- SubscriberInterface
- Simplenews subscriber entity interface.
Namespace
Drupal\simplenewsCode
public function setLangcode($langcode);