function shortcut_install

Implements hook_install().

File

drupal/core/modules/shortcut/shortcut.install, line 11
Install, update and uninstall functions for the shortcut module.

Code

function shortcut_install() {
  $t = get_t();

  // Create an initial default shortcut set.
  $shortcut_set = new stdClass();
  $shortcut_set->title = $t('Default');
  $shortcut_set->links = array();
  shortcut_set_save($shortcut_set);
}