You are here

public function ParagraphsItemEntity::langcode in Paragraphs 7

Determines the language code under which the item is stored.

File

./ParagraphsItemEntity.inc, line 344

Class

ParagraphsItemEntity
Entity implementation for the paragraphs entity.

Code

public function langcode() {
  if ($this
    ->delta() !== NULL) {
    return $this->langcode;
  }
}