You are here

public function Webform::getLangcode in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::getLangcode()

Returns the webform's (original) langcode.

Return value

string The webform's (original) langcode.

Overrides WebformInterface::getLangcode

File

src/Entity/Webform.php, line 503

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

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