We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df8cb0 commit 583dbf0Copy full SHA for 583dbf0
src/utilities/ClearIconCache.php
@@ -22,7 +22,8 @@ class ClearIconCache extends Utility
22
*/
23
public static function displayName(): string
24
{
25
- return Craft::t('icon-manager', 'Clear Icon Cache');
+ $pluginName = IconManager::getInstance()->getSettings()->pluginName;
26
+ return $pluginName . ' Cache';
27
}
28
29
/**
@@ -36,9 +37,9 @@ public static function id(): string
36
37
38
* @inheritdoc
39
- public static function iconPath(): ?string
40
+ public static function icon(): ?string
41
- return null;
42
+ return 'folder-grid';
43
44
45
0 commit comments