You are here

function responsive_menu_update_8005 in Responsive and off-canvas menu 4.0.x

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

Add new config for keyboard extension.

File

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

Code

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