diff --git a/src/Entity/Paragraph.php b/src/Entity/Paragraph.php index 9f16344..9c9ada9 100644 --- a/src/Entity/Paragraph.php +++ b/src/Entity/Paragraph.php @@ -499,20 +499,6 @@ class Paragraph extends ContentEntityBase implements ParagraphInterface, EntityN } /** - * Gets the number of summaries. - * - * @return int - * The number of summaries. - */ - protected function getSummaryCount() { - if ($this->summaryCount !== NULL) { - return $this->summaryCount; - } - - return 0; - } - - /** * Returns summary for file paragraph. * * @param string $field_name @@ -562,7 +548,8 @@ class Paragraph extends ContentEntityBase implements ParagraphInterface, EntityN * available options. * * @return string - * Short summary for nested paragraphs type. + * Short summary for nested paragraphs type + * or NULL if the summary is empty. */ protected function getNestedSummary($field_name, array $options) { $summary = [];