You are here

function responsive_menu_update_8004 in Responsive and off-canvas menu 8.3

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

Add new config for page wrappers.

File

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

Code

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