You are here

public function Radioactivity::setLangcode in Radioactivity 4.0.x

Sets the language code.

Parameters

string $langcode: The language code.

Overrides RadioactivityInterface::setLangcode

File

src/Entity/Radioactivity.php, line 73

Class

Radioactivity
Defines the radioactivity entity class.

Namespace

Drupal\radioactivity\Entity

Code

public function setLangcode($langcode) {
  $this
    ->set('langcode', $langcode);
}