You are here

public function DefaultParagraphsAddEvent::getParagraphEntity in Default Paragraphs 8

Get the paragraph entity.

Return value

\Drupal\paragraphs\ParagraphInterface A paragraph entity.

File

src/Events/DefaultParagraphsAddEvent.php, line 46

Class

DefaultParagraphsAddEvent
Represents Paragraph Entity adding as default.

Namespace

Drupal\default_paragraphs\Events

Code

public function getParagraphEntity() {
  return $this->paragraphEntity;
}