- Issue created by @luke.stewart
- Merge request !5Remove duplicate description definition in settingsForm. → (Open) created by luke.stewart
One of these things is just like the other!
$element['description'] = [
'#type' => 'textarea',
'#title' => $this->t('Description'),
'#description' => $this->t('Shown to the customer below the price element'),
'#default_value' => $this->getSetting('description'),
];
$element['description'] = [
'#type' => 'textarea',
'#title' => $this->t('Description'),
'#description' => $this->t('Shown to the customer below the price element'),
'#default_value' => $this->getSetting('description'),
];
This doesn't cause any issues - just seems like there is some duplicate code here.
Remove the duplicate code.
None
None
Active
1.0
Code