You are here

public function ParagraphsItemEntity::instanceInfo in Paragraphs 7

Provides info about the field instance referencing this paragraphs item.

1 call to ParagraphsItemEntity::instanceInfo()
ParagraphsItemEntity::translatedInstanceLabel in ./ParagraphsItemEntity.inc
Returns the field instance label translated to interface language.

File

./ParagraphsItemEntity.inc, line 133

Class

ParagraphsItemEntity
Entity implementation for the paragraphs entity.

Code

public function instanceInfo() {
  return field_info_instance($this
    ->hostEntityType(), $this->field_name, $this
    ->hostEntityBundle());
}