mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
18 lines
414 B
PHP
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();
|
|
}
|