public function Language::id in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php \Drupal\Core\TypedData\Plugin\DataType\Language::id()
File
- core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ Language.php, line 86 - Contains \Drupal\Core\TypedData\Plugin\DataType\Language.
Class
- Language
- Defines the 'language' data type.
Namespace
Drupal\Core\TypedData\Plugin\DataTypeCode
public function id() {
if (isset($this->id)) {
return $this->id;
}
elseif (isset($this->language)) {
return $this->language
->getId();
}
}