function menu_link_content_install in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/menu_link_content/menu_link_content.install \menu_link_content_install()
Implements hook_install().
File
- core/
modules/ menu_link_content/ menu_link_content.install, line 11 - Install, update and uninstall functions for the menu_link_content module.
Code
function menu_link_content_install() {
// Add a higher weight so that menu_link_content_path_update() is called after
// system_path_update() clears the path alias cache.
// @todo remove this when the cache clearing is moved to path module or if
// caching is removed for path aliases due to
// https://www.drupal.org/node/1965074
module_set_weight('menu_link_content', 1);
}