You are here

public function ParagraphInterface::getSummary in Paragraphs 8

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.

1 method overrides ParagraphInterface::getSummary()
Paragraph::getSummary in src/Entity/Paragraph.php
Returns a short summary for the Paragraph.

File

src/ParagraphInterface.php, line 52

Class

ParagraphInterface
Provides an interface defining a paragraphs entity.

Namespace

Drupal\paragraphs

Code

public function getSummary(array $options = []);