You are here

function menu_link_weight_update_8100 in Menu Link Weight 8

Same name and namespace in other branches
  1. 8.2 menu_link_weight.install \menu_link_weight_update_8100()

Add default settings for menu_parent_form_selector.

File

./menu_link_weight.install, line 21
Contains install and uninstall functions for the Menu Link Weight module.

Code

function menu_link_weight_update_8100() {
  \Drupal::configFactory()
    ->getEditable('menu_link_weight.settings')
    ->set('menu_parent_form_selector', 'default')
    ->save();
}