You are here

public function ParagraphInterface::getIcons in Paragraphs 8

Returns info icons render array for a paragraph.

Parameters

array $options: (optional) Array of additional options, with the following elements:

  • 'show_behavior_icon': Whether the icons should contain the behavior settings. Defaults to TRUE to show behavior icons in the summary.

Return value

array A list of render arrays that will be rendered as icons.

1 method overrides ParagraphInterface::getIcons()
Paragraph::getIcons in src/Entity/Paragraph.php
Returns info icons render array for a paragraph.

File

src/ParagraphInterface.php, line 82

Class

ParagraphInterface
Provides an interface defining a paragraphs entity.

Namespace

Drupal\paragraphs

Code

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