You are here

public function Webform::getLangcode in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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;
}