public function FieldItemBase::getLangcode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::getLangcode()
Gets the langcode of the field values held in the object.
Return value
$langcode The langcode.
Overrides FieldItemInterface::getLangcode
1 call to FieldItemBase::getLangcode()
- PathItem::postSave in core/
modules/ path/ src/ Plugin/ Field/ FieldType/ PathItem.php - Defines custom post-save behavior for field values.
File
- core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 72 - Contains \Drupal\Core\Field\FieldItemBase.
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public function getLangcode() {
return $this->parent
->getLangcode();
}