Skip to content

Commit

Permalink
Craft 5 changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Mar 3, 2024
1 parent 0602b10 commit 4981d18
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"require": {
"php": "^8.2",
"craftcms/cms": "^5.0.0-alpha.1",
"craftcms/cms": "^5.0.0-beta.1",
"verbb/base": "^3.0.0-beta.1"
},
"autoload": {
Expand Down
10 changes: 10 additions & 0 deletions config.codekit3
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@
"oAP" : "\/src\/fields",
"oF" : 0
},
"\/src\/icon-mask.svg" : {
"ft" : 2097152,
"miP" : 0,
"oA" : 2,
"oAP" : "\/src\/icon-mask.svg",
"oF" : 0,
"opt" : 0,
"plM" : 3758088159,
"prP" : 0
},
"\/src\/icon.svg" : {
"ft" : 2097152,
"miP" : 0,
Expand Down
5 changes: 5 additions & 0 deletions src/fields/SuperTableField.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ public static function displayName(): string
return Craft::t('super-table', 'Super Table');
}

public static function icon(): string
{
return '@verbb/supertable/icon-mask.svg';
}


// Public Methods
// =========================================================================
Expand Down
8 changes: 8 additions & 0 deletions src/icon-mask.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4981d18

Please sign in to comment.