public function ParagraphInterface::getIcons

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 paragraphs/src/Entity/Paragraph.php
Returns info icons render array for a paragraph.

File

paragraphs/src/ParagraphInterface.php, line 82

Class

ParagraphInterface
Provides an interface defining a paragraphs entity.

Namespace

Drupal\paragraphs

Code

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