You are here

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_paragraphs

Code

public function getEntity() {
  return $this->paragraph;
}