Skip to content

Commit

Permalink
HOTFIX IQZ-303-58465
Browse files Browse the repository at this point in the history
  • Loading branch information
juuliabellcom committed Dec 21, 2021
1 parent e538c07 commit eaeaa6e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static function create(ContainerInterface $container, array $configuratio
* {@inheritdoc}
*/
public function getDefaultProperties() {
return array_merge($this->getSbsysDefaultProperties(), parent::getDefaultProperties());
return array_merge(parent::getDefaultProperties(), $this->getSbsysDefaultProperties());
}

/**
Expand Down Expand Up @@ -80,6 +80,7 @@ public static function getSbsysDefaultProperties($only_basic = FALSE) {
$properties[$key . '_custom'] = '';
}
$properties['MaaSendesTilDFF'] = '';
$properties['filename'] = 'os2forms.xml';
return $properties;
}

Expand Down Expand Up @@ -167,8 +168,6 @@ public function form(array $form, FormStateInterface $form_state) {
'#description' => $this->t('Select a value from form submitted fields or provide a custom static value'),
];

$form['attachment']['filename']['#value'] = 'os2forms.xml';

return $form;
}

Expand Down

0 comments on commit eaeaa6e

Please sign in to comment.