function FieldItemListInterface::getLangcode
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::getLangcode()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::getLangcode()
- 11.x core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::getLangcode()
Gets the langcode of the field values held in the object.
Return value
string The langcode.
1 method overrides FieldItemListInterface::getLangcode()
- FieldItemList::getLangcode in core/
lib/ Drupal/ Core/ Field/ FieldItemList.php
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemListInterface.php, line 55
Class
- FieldItemListInterface
- Interface for fields, being lists of 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.