public function LayoutParagraphsComponent::getParentUuid in Layout Paragraphs 2.0.x
Returns the parent component if one exists.
Return value
Drupal\paragraphs\Entity\Paragraph|false The parent paragraph or false if doesn't exist.
1 call to LayoutParagraphsComponent::getParentUuid()
- LayoutParagraphsComponent::isRoot in src/
LayoutParagraphsComponent.php - A "root" component is rendered at the top level.
File
- src/
LayoutParagraphsComponent.php, line 120
Class
- LayoutParagraphsComponent
- Provides a domain object for a single Layout Paragraphs Component.
Namespace
Drupal\layout_paragraphsCode
public function getParentUuid() {
return $this
->getSetting('parent_uuid');
}