You are here

function custom_breadcrumbs_paths_update_6200 in Custom Breadcrumbs 6.2

Same name and namespace in other branches
  1. 7.2 custom_breadcrumbs_paths/custom_breadcrumbs_paths.install \custom_breadcrumbs_paths_update_6200()

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

File

custom_breadcrumbs_paths/custom_breadcrumbs_paths.install, line 111
Install file for the custom_breadcrumbs module.

Code

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