You are here

function responsive_menu_update_8002 in Responsive and off-canvas menu 4.1.x

Same name and namespace in other branches
  1. 8.3 responsive_menu.install \responsive_menu_update_8002()
  2. 8.2 responsive_menu.install \responsive_menu_update_8002()
  3. 4.4.x responsive_menu.install \responsive_menu_update_8002()
  4. 4.0.x responsive_menu.install \responsive_menu_update_8002()
  5. 4.3.x responsive_menu.install \responsive_menu_update_8002()

Add new config to determine whether to use the breakpoint.

File

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

Code

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