You are here

public function ParagraphsClassBehavior::settingsSummary in Paragraphs Class 8

Returns a short summary for the current behavior settings.

Parameters

\Drupal\paragraphs\Entity\Paragraph $paragraph: The paragraph.

Return value

string[] The plugin settings.

Overrides ParagraphsBehaviorBase::settingsSummary

File

src/Plugin/paragraphs/Behavior/ParagraphsClassBehavior.php, line 57

Class

ParagraphsClassBehavior
Custom paragraph wrapper class.

Namespace

Drupal\paragraphs_class\Plugin\paragraphs\Behavior

Code

public function settingsSummary(Paragraph $paragraph) {
  return [
    $this
      ->t('Wrapper class element'),
  ];
}