public function ParagraphInterface::getSummaryItems in Paragraphs 8
Returns the summary items of the Paragraph.
Parameters
array $options: (optional) Array of additional options, with the following elements:
- 'show_behavior_summary': Whether the summary should contain the behavior settings. Defaults to TRUE to show behavior settings in the summary.
- 'depth_limit': Depth limit of how many nested paragraph summaries are allowed. Defaults to 1 to show nested paragraphs only on top level.
Return value
array A list of summary items, grouped into the keys 'content' and 'behaviors'.
1 method overrides ParagraphInterface::getSummaryItems()
- Paragraph::getSummaryItems in src/
Entity/ Paragraph.php - Returns the summary items of the Paragraph.
File
- src/
ParagraphInterface.php, line 68
Class
- ParagraphInterface
- Provides an interface defining a paragraphs entity.
Namespace
Drupal\paragraphsCode
public function getSummaryItems(array $options = []);