You are here

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

Same name and namespace in other branches
  1. 8.3 responsive_menu.install \responsive_menu_update_8003()
  2. 8.2 responsive_menu.install \responsive_menu_update_8003()
  3. 4.0.x responsive_menu.install \responsive_menu_update_8003()
  4. 4.1.x responsive_menu.install \responsive_menu_update_8003()
  5. 4.3.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);
}