public function ParagraphInterface::getParentEntity in Paragraphs 8
Gets the parent entity of the paragraph.
Preserves language context with translated entities.
Return value
ContentEntityInterface The parent entity.
1 method overrides ParagraphInterface::getParentEntity()
- Paragraph::getParentEntity in src/
Entity/ Paragraph.php - Gets the parent entity of the paragraph.
File
- src/
ParagraphInterface.php, line 24
Class
- ParagraphInterface
- Provides an interface defining a paragraphs entity.
Namespace
Drupal\paragraphsCode
public function getParentEntity();