Skip to content
Snippets Groups Projects

3376372: Views row weight should be a select list.

2 files
+ 2
3
Compare changes
  • Side-by-side
  • Inline

Files

@@ -114,7 +114,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
$form['fields'][$id]['name'] = ['#markup' => $markup];
$form['fields'][$id]['weight'] = [
'#type' => 'textfield',
'#type' => 'weight',
'#default_value' => ++$count,
'#attributes' => ['class' => ['weight']],
'#title' => $this->t('Weight for @title', ['@title' => $name]),
Loading