You are here

public function ParagraphsItemEntity::hostEntity in Paragraphs 7

Returns the host entity embedding this paragraphs item.

2 calls to ParagraphsItemEntity::hostEntity()
ParagraphsItemEntity::delta in ./ParagraphsItemEntity.inc
Determines the $delta of the reference pointing to this paragraph item.
ParagraphsItemEntity::save in ./ParagraphsItemEntity.inc
Save the paragraphs item.

File

./ParagraphsItemEntity.inc, line 240

Class

ParagraphsItemEntity
Entity implementation for the paragraphs entity.

Code

public function hostEntity() {
  $this
    ->fetchHostDetails();
  return $this->hostEntity;
}