You are here

function farm_term_install in farmOS 7

Implements hook_install().

File

modules/farm/farm_term/farm_term.install, line 10
Farm term install.

Code

function farm_term_install() {

  // Override the taxonomy_terms_per_page_admin variable that is used by Drupal
  // internally to split the /admin/structure/taxonomy/[vocab] form up across
  // multiple pages. This makes it difficult to rearrange the hierarchy of
  // terms across pages. So we are just setting this to a very large number to
  // prevent pagination entirely.
  variable_set('taxonomy_terms_per_page_admin', 1000000000);
}