You are here

function custom_breadcrumbs_update_3 in Custom Breadcrumbs 7.2

Same name and namespace in other branches
  1. 6.2 custom_breadcrumbs.install \custom_breadcrumbs_update_3()

Implements hook_update_N().

Ensure this module's weight is larger than other modules, like views, so custom breadcrumbs page callback is used.

File

./custom_breadcrumbs.install, line 132
Install file for the custom_breadcrumbs module.

Code

function custom_breadcrumbs_update_3() {
  db_update('system')
    ->fields(array(
    'weight' => 12,
  ))
    ->condition('type', 'module')
    ->condition('name', 'custom_breadcrumbs')
    ->execute();
  return t('Adjusted the custom_ breadcrumbs module weight.');
}