public function Radioactivity::getLangcode in Radioactivity 4.0.x
Returns the language code.
Return value
string The language code.
Overrides RadioactivityInterface::getLangcode
File
- src/
Entity/ Radioactivity.php, line 66
Class
- Radioactivity
- Defines the radioactivity entity class.
Namespace
Drupal\radioactivity\EntityCode
public function getLangcode() {
return $this
->get('langcode')->value;
}