Commit 1405f15f authored by alexpott's avatar alexpott

Issue #2656442 by swentel: Argument missing the 'context' key for 'decimal places' context

parent a790ff2e
......@@ -55,7 +55,7 @@ public function settingsForm(array $form, FormStateInterface $form_state) {
$range = range(0, 10);
$elements['scale'] = array(
'#type' => 'select',
'#title' => t('Scale', array(), array('decimal places')),
'#title' => t('Scale', array(), array('context' => 'decimal places')),
'#options' => array_combine($range, $range),
'#default_value' => $this->getSetting('scale'),
'#description' => t('The number of digits to the right of the decimal.'),
......
......@@ -81,7 +81,7 @@ public function storageSettingsForm(array &$form, FormStateInterface $form_state
$range = range(0, 10);
$element['scale'] = array(
'#type' => 'select',
'#title' => t('Scale', array(), array('decimal places')),
'#title' => t('Scale', array(), array('context' => 'decimal places')),
'#options' => array_combine($range, $range),
'#default_value' => $settings['scale'],
'#description' => t('The number of digits to the right of the decimal.'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment