Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $form['items'][$i]['weight'] = [
- '#type' => 'weight',
- '#title_display' => 'invisible',
- '#default_value' => $i,
- '#attributes' => [
- 'class' =>[
- 'items-order-weight'
- ]
- ]
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement