Skip to content
Snippets Groups Projects
Commit c4e94e9b authored by Matthew Grasmick's avatar Matthew Grasmick
Browse files

Issue #3341559: "Storage" property not configurable

parent 6f472912
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ use Drupal\Core\Url;
* "label",
* "uuid",
* "description",
* "storage",
* "secret",
* "invisible",
* "manual_only",
......
......@@ -45,6 +45,16 @@ class AchievementEntityForm extends EntityForm {
'#description' => $this->t('The description of the achievement.'),
];
$form['storage'] = [
'#type' => 'textfield',
'#title' => $this->t('Storage'),
'#size' => 60,
'#maxlength' => 128,
'#required' => FALSE,
'#default_value' => $achievement_entity->getStorage(),
'#description' => $this->t('The storage of the achievement.'),
];
$form['secret'] = [
'#type' => 'checkbox',
'#title' => $this->t('Secret'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment