Returns the paragraph type / bundle name as string.
Return value
string
The Paragraph bundle name.
File
- paragraphs/src/ParagraphInterface.php, line 102
Class
- ParagraphInterface
- Provides an interface defining a paragraphs entity.
Namespace
Drupal\paragraphs
Code
public function getType();