|static ||create (ContainerInterface $container)|
Form submission handler.
Rather than using a textfield or weight field, this form depends entirely upon the order of form elements on the page to determine new weights.
Because there might be hundreds or thousands of taxonomy terms that need to be ordered, terms are weighted from 0 to the number of terms in the vocabulary, rather than the standard -10 to 10 scale. Numbers are sorted lowest to highest, but are not necessarily sequential. Numbers may be skipped when a term has children so that reordering is minimal when a child is added or removed from a term.
|array||$form||An associative array containing the structure of the form. |
|\Drupal\Core\Form\FormStateInterface||$form_state||The current state of the form. |
References FormStateInterface\get(), FormStateInterface\getValue(), and t().
The documentation for this class was generated from the following file: