function FieldItemInterface::getLangcode
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::getLangcode()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::getLangcode()
- 10 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::getLangcode()
Gets the langcode of the field values held in the object.
Return value
string The langcode.
1 method overrides FieldItemInterface::getLangcode()
- FieldItemBase::getLangcode in core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemInterface.php, line 107
Class
- FieldItemInterface
- Interface for entity field items.
Namespace
Drupal\Core\FieldCode
public function getLangcode();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.