Returns a short summary for 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
string
The template based summary.
File
- paragraphs/src/ParagraphInterface.php, line 52
Class
- ParagraphInterface
- Provides an interface defining a paragraphs entity.
Namespace
Drupal\paragraphs
Code
public function getSummary(array $options = []);