plugin.manager.icon_pack

Class

Drupal\Core\Theme\Icon\Plugin\IconPackManager
4 string references to plugin.manager.icon_pack
Icon::preRenderIcon in core/lib/Drupal/Core/Render/Element/Icon.php
Icon element pre render callback.
IconTest::testPreRenderIcon in core/tests/Drupal/Tests/Core/Theme/Icon/IconTest.php
Test the Icon::preRenderIcon method.
IconTest::testPreRenderIconEmptyValues in core/tests/Drupal/Tests/Core/Theme/Icon/IconTest.php
Test the Icon::preRenderIcon method.
IconTest::testPreRenderIconNoIcon in core/tests/Drupal/Tests/Core/Theme/Icon/IconTest.php
Test the Icon::preRenderIcon method.

File

core/core.services.yml

View source
  1. class: Drupal\Core\Theme\Icon\Plugin\IconPackManager
  2. calls:
  3. - [setValidator, { }]
  4. arguments:
  5. - '@module_handler'
  6. - '@theme_handler'
  7. - '@cache.discovery'
  8. - '@plugin.manager.icon_extractor'
  9. - '@Drupal\Core\Theme\Icon\IconCollector'
  10. - '%app.root%'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.