public function ParagraphsBehaviorBase::settingsIcon

Returns a short info icon for the current behavior settings.

Usually the information is in the form of an icon or a badge or some similar graphical representation.

Parameters

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

Return value

string[] The plugin settings.

Overrides ParagraphsBehaviorInterface::settingsIcon

See also

ParagraphInterface::getIcons()

1 method overrides ParagraphsBehaviorBase::settingsIcon()
TestBoldTextBehavior::settingsIcon in paragraphs/tests/modules/paragraphs_test/src/Plugin/paragraphs/Behavior/TestBoldTextBehavior.php
Returns a short info icon for the current behavior settings.

File

paragraphs/src/ParagraphsBehaviorBase.php, line 118

Class

ParagraphsBehaviorBase

Namespace

Drupal\paragraphs

Code

public function settingsIcon(Paragraph $paragraph) {
  return [];
}