public function DefaultParagraphsAddEvent::getTargetBundle in Default Paragraphs 8
Get the paragraph's bundle.
Return value
string A paragraph entity's bundle.
File
- src/
Events/ DefaultParagraphsAddEvent.php, line 56
Class
- DefaultParagraphsAddEvent
- Represents Paragraph Entity adding as default.
Namespace
Drupal\default_paragraphs\EventsCode
public function getTargetBundle() {
return $this->targetBundle;
}