You are here

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\Entity

Code

public function getLangcode() {
  return $this
    ->get('langcode')->value;
}