function TestExtractor::discoverIcons
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/icon_test/src/Plugin/IconExtractor/TestExtractor.php \Drupal\icon_test\Plugin\IconExtractor\TestExtractor::discoverIcons()
Get a list of all the icons discovered by this extractor.
The icons must be provided as an associative array keyed by the icon id with values used to load the icon: source and group.
Return value
array List of icons that are found by this extractor. Keyed by icon full id.
Overrides IconExtractorInterface::discoverIcons
File
-
core/
modules/ system/ tests/ modules/ icon_test/ src/ Plugin/ IconExtractor/ TestExtractor.php, line 28
Class
- TestExtractor
- Test plugin implementation of the icon_extractor.
Namespace
Drupal\icon_test\Plugin\IconExtractorCode
public function discoverIcons() : array {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.