You are here

function responsive_menu_update_84001 in Responsive and off-canvas menu 4.4.x

Same name and namespace in other branches
  1. 4.1.x responsive_menu.install \responsive_menu_update_84001()
  2. 4.3.x responsive_menu.install \responsive_menu_update_84001()

Add new config for the drag setting.

File

./responsive_menu.install, line 95
Contains install and update functions.

Code

function responsive_menu_update_84001() {
  \Drupal::configFactory()
    ->getEditable('responsive_menu.settings')
    ->set('drag', FALSE)
    ->save(TRUE);
}