You are here

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

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

Add new config to dynamically modify the viewport to fix Chrome bug.

File

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

Code

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