You are here

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\Events

Code

public function getTargetBundle() {
  return $this->targetBundle;
}