function responsive_menu_update_8003 in Responsive and off-canvas menu 4.3.x
Same name and namespace in other branches
- 8.3 responsive_menu.install \responsive_menu_update_8003()
- 8.2 responsive_menu.install \responsive_menu_update_8003()
- 4.4.x responsive_menu.install \responsive_menu_update_8003()
- 4.0.x responsive_menu.install \responsive_menu_update_8003()
- 4.1.x responsive_menu.install \responsive_menu_update_8003()
Add new config to determine whether to use the breakpoint.
File
- ./
responsive_menu.install, line 31 - Contains install and update functions.
Code
function responsive_menu_update_8003() {
\Drupal::configFactory()
->getEditable('responsive_menu.settings')
->set('allow_admin', FALSE)
->save(TRUE);
}