You are here

public function ParagraphInterface::getType in Paragraphs 8

Returns the paragraph type / bundle name as string.

Return value

string The Paragraph bundle name.

1 method overrides ParagraphInterface::getType()
Paragraph::getType in src/Entity/Paragraph.php
Returns the paragraph type / bundle name as string.

File

src/ParagraphInterface.php, line 102

Class

ParagraphInterface
Provides an interface defining a paragraphs entity.

Namespace

Drupal\paragraphs

Code

public function getType();