function responsive_menu_update_8002 in Responsive and off-canvas menu 4.0.x
Same name and namespace in other branches
- 8.3 responsive_menu.install \responsive_menu_update_8002()
- 8.2 responsive_menu.install \responsive_menu_update_8002()
- 4.4.x responsive_menu.install \responsive_menu_update_8002()
- 4.1.x responsive_menu.install \responsive_menu_update_8002()
- 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);
}