public FieldItemBase::getLangcode()
Gets the langcode of the field values held in the object.
Return value
string The langcode.
Overrides FieldItemInterface::getLangcode
File
- core/lib/Drupal/Core/Field/FieldItemBase.php, line 67
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\Field
Code
public function getLangcode() { return $this->getParent()->getLangcode(); }
Please login to continue.