How to get higher weight range for vocabulary I found the line in the taxonomy.admin.inc, but i didn`t want to change it in the core. So, How can I get it in my module to override the #delta of the vocabularies?

With the function I didn`t get a solution:

function &lt;MYMODULE&gt;_form_alter($form, $form_state, $form_id) {
  if ($form_id == "taxonomy_overview_vocabularies") {
    foreach ($form as $vocabulary) {
        if(isset($vocabulary['weight']['#delta'])) {
            $vocabulary['weight']['#delta'] = 20;
        };
    };
};
Remember to pass value by reference.

function &lt;MYMODULE&gt;_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if ($form_id == "taxonomy_overview_vocabularies") {
    foreach ($form as &amp;$vocabulary) {
      if (isset($vocabulary['weight']['#delta'])) {
        $vocabulary['weight']['#delta'] = 20;
      }
    }
  }
}