function custom_breadcrumbs_views_update_6200 in Custom Breadcrumbs 7.2
Same name and namespace in other branches
- 6.2 custom_breadcrumbs_views/custom_breadcrumbs_views.install \custom_breadcrumbs_views_update_6200()
Adds name field for improved organization of breadcrumbs.
Remove set_active_menu field because it is no longer used. Adds indices to custom_breadcrumb table to improve performance.
File
- custom_breadcrumbs_views/
custom_breadcrumbs_views.install, line 116 - Install file for the custom_breadcrumbs_views module.
Code
function custom_breadcrumbs_views_update_6200() {
db_add_index('language', array(
'language',
));
db_add_index('vpath_language', array(
'views_path',
'language',
));
db_add_field('name', array(
'type' => 'varchar',
'length' => 128,
'NOT NULL' => FALSE,
'description' => 'An optional name for the custom breadcrumb.',
));
db_drop_field('set_active_menu');
}