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'.
File
- paragraphs/src/ParagraphInterface.php, line 68
Class
- ParagraphInterface
- Provides an interface defining a paragraphs entity.
Namespace
Drupal\paragraphs
Code
public function getSummaryItems(array $options = []);