menu_link_content.install 532 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * @file
  4. * Install, update and uninstall functions for the menu_link_content module.
  5. */
  6. /**
  7. * Implements hook_install().
  8. */
  9. function menu_link_content_install() {
  10. // Add a higher weight so that menu_link_content_path_update() is called after
  11. // system_path_update() clears the path alias cache.
  12. // @todo remove this when the cache clearing is moved to path module or if
  13. // caching is removed for path aliases due to
  14. // https://www.drupal.org/node/1965074
  15. module_set_weight('menu_link_content', 1);
  16. }