You are here

function micon_paragraphs_icon in Micon 8

Same name and namespace in other branches
  1. 2.x micon_paragraphs/micon_paragraphs.module \micon_paragraphs_icon()

Helper function for retrieving the icon from a node type.

The content type.

3 calls to micon_paragraphs_icon()
MiconParagraphsTypeListBuilder::buildRow in micon_paragraphs/src/MiconParagraphsTypeListBuilder.php
Builds a row for an entity in the entity listing.
micon_paragraphs_form_paragraphs_type_form_alter in micon_paragraphs/micon_paragraphs.module
Implements hook_form_FORM_ID_alter().
micon_paragraphs_micon_icons_alter in micon_paragraphs/micon_paragraphs.module
Implements hook_micon_icons_alter().

File

micon_paragraphs/micon_paragraphs.module, line 53
Contains micon_paragraphs.module.

Code

function micon_paragraphs_icon(ParagraphsTypeInterface $type) {
  return $type
    ->getThirdPartySetting('micon_paragraphs', 'icon');
}