public function Paragraph::getParagraphType in Paragraphs 8
Returns the paragraph type.
Return value
ParagraphsTypeInterface The Paragraph Type.
Overrides ParagraphInterface::getParagraphType
2 calls to Paragraph::getParagraphType()
- Paragraph::getIcons in src/
Entity/ Paragraph.php - Returns info icons render array for a paragraph.
- Paragraph::getSummaryItems in src/
Entity/ Paragraph.php - Returns the summary items of the Paragraph.
File
- src/
Entity/ Paragraph.php, line 314
Class
- Paragraph
- Defines the Paragraph entity.
Namespace
Drupal\paragraphs\EntityCode
public function getParagraphType() {
return $this->type->entity;
}