You are here

function custom_breadcrumbs_taxonomy_update_6200 in Custom Breadcrumbs 6.2

Same name and namespace in other branches
  1. 7.2 custom_breadcrumbs_taxonomy/custom_breadcrumbs_taxonomy.install \custom_breadcrumbs_taxonomy_update_6200()

Adds name field for improved organization of breadcrumbs Remove set_active_menu field because it is no longer used.

File

custom_breadcrumbs_taxonomy/custom_breadcrumbs_taxonomy.install, line 209
Install file for the custom_breadcrumbs_taxonomy module.

Code

function custom_breadcrumbs_taxonomy_update_6200() {
  $ret = array();
  db_add_field($ret, 'custom_breadcrumbs_taxonomy_term', 'name', array(
    'type' => 'varchar',
    'length' => 128,
    'NOT NULL' => FALSE,
    'description' => 'An optional name for the custom breadcrumb.',
  ));
  db_add_field($ret, 'custom_breadcrumbs_taxonomy_vocabulary', 'name', array(
    'type' => 'varchar',
    'length' => 128,
    'NOT NULL' => FALSE,
    'description' => 'An optional name for the custom breadcrumb.',
  ));
  return $ret;
}