public function ParagraphsBehaviorInterface::settingsIcon in Paragraphs 8
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.
See also
ParagraphInterface::getIcons()
1 method overrides ParagraphsBehaviorInterface::settingsIcon()
- ParagraphsBehaviorBase::settingsIcon in src/
ParagraphsBehaviorBase.php - Returns a short info icon for the current behavior settings.
File
- src/
ParagraphsBehaviorInterface.php, line 140
Class
- ParagraphsBehaviorInterface
- Provides an interface defining a paragraph behavior.
Namespace
Drupal\paragraphsCode
public function settingsIcon(Paragraph $paragraph);