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\EventsCode
public function getParagraphEntity() {
return $this->paragraphEntity;
}