IconFinder::ICON_ID_PATTERN
Pattern to match an icon ID placeholder in a filename.
This constant is used to identify and extract icon IDs from filenames within source paths defined for icon pack.
File
-
core/
lib/ Drupal/ Core/ Theme/ Icon/ IconFinder.php, line 84
Class
- IconFinder
- Icon finder to discover files under specific paths or URLs.
Namespace
Drupal\Core\Theme\IconCode
private const ICON_ID_PATTERN = '{icon_id}';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.