3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
farmOS/modules/core/ui/menu/farm_ui_menu.install
2021-09-09 14:27:31 -04:00

18 lines
414 B
PHP

<?php
/**
* @file
* Install, update and uninstall functions for the farm_ui_menu module.
*/
/**
* Implements hook_install().
*/
function farm_ui_menu_install() {
// Delete system menus.
\Drupal::configFactory()->getEditable('system.menu.footer')->delete();
\Drupal::configFactory()->getEditable('system.menu.main')->delete();
\Drupal::configFactory()->getEditable('system.menu.tools')->delete();
}