diff --git a/composer.json b/composer.json index 16bd475..9b706f8 100644 --- a/composer.json +++ b/composer.json @@ -12,13 +12,17 @@ "prefer-stable": true, "require": { "dnadesign/silverstripe-elemental": "dev-ss4", - "silverstripe/userforms": "5.0.x-dev" + "silverstripe/userforms": "5.0.x-dev", + "silverstripe/vendor-plugin": "^1.0" }, "extra": { "installer-name": "elemental-userforms", "branch-alias": { "dev-master": "1.x-dev" - } + }, + "expose": [ + "images" + ] }, "autoload": { "psr-4": { diff --git a/src/Model/ElementForm.php b/src/Model/ElementForm.php index d261ce8..8515952 100644 --- a/src/Model/ElementForm.php +++ b/src/Model/ElementForm.php @@ -25,7 +25,7 @@ class ElementForm extends BaseElement /** * @var string */ - private static $icon = 'elemental-userforms/images/form.svg'; + private static $icon = 'dnadesign:silverstripe-elemental-userforms:images/form.svg'; /** * @var string