You are here

public function ExtraFieldDisplayFormattedBase::setLangcode in Extra Field 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/ExtraFieldDisplayFormattedBase.php \Drupal\extra_field\Plugin\ExtraFieldDisplayFormattedBase::setLangcode()

Set the language code.

TODO Add this to the interface in the 3.0.0 release.

File

src/Plugin/ExtraFieldDisplayFormattedBase.php, line 143

Class

ExtraFieldDisplayFormattedBase
Base class for Extra field Display plugins with field wrapper output.

Namespace

Drupal\extra_field\Plugin

Code

public function setLangcode($langcode) {
  $this->langcode = $langcode;
}