FieldItemListInterface::setLangcode

public FieldItemListInterface::setLangcode($langcode)

Sets the langcode of the field values held in the object.

Parameters

string $langcode: The langcode.

File

core/lib/Drupal/Core/Field/FieldItemListInterface.php, line 44

Class

FieldItemListInterface
Interface for fields, being lists of field items.

Namespace

Drupal\Core\Field

Code

public function setLangcode($langcode);
doc_Drupal
2016-10-29 09:12:01
Comments
Leave a Comment

Please login to continue.