Is there a limit on a taxonomy hierarchy depth by default? This question's answer states that the default limit is 9 due to database table structure, but I successfully nested 10+ terms in a vocabulary locally, so that doesn't seem to be correct.
1 Answer
I just posted an answer to a similar question at https://drupal.stackexchange.com/a/199247/6488 but if you are wanting it to be a sitewide default you would:
- remove the
if ($form['#bundle'] == 'MY_VOCAB')
fromhook_form_taxonomy_form_term_alter()
- Change the check against
current_path()
in thehook_preprocess_page()
Some clever person could turn this into a module!