public function LayoutParagraphsComponent::getEntity in Layout Paragraphs 2.0.x
Returns the wrapped paragraph entity.
Return value
\Drupal\paragraphs\Entity\Paragraph The paragraph entity.
File
- src/
LayoutParagraphsComponent.php, line 130
Class
- LayoutParagraphsComponent
- Provides a domain object for a single Layout Paragraphs Component.
Namespace
Drupal\layout_paragraphsCode
public function getEntity() {
return $this->paragraph;
}