ConfigurableLanguage::getId

public ConfigurableLanguage::getId()

Gets the ID (language code).

Return value

string The language code.

Overrides LanguageInterface::getId

File

core/modules/language/src/Entity/ConfigurableLanguage.php, line 208

Class

ConfigurableLanguage
Defines the ConfigurableLanguage entity.

Namespace

Drupal\language\Entity

Code

public function getId() {
  return $this->id();
}
doc_Drupal
2016-10-29 08:55:06
Comments
Leave a Comment

Please login to continue.