You are here

function responsive_menu_update_8001 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_8001()
  2. 8.2 responsive_menu.install \responsive_menu_update_8001()
  3. 4.4.x responsive_menu.install \responsive_menu_update_8001()
  4. 4.1.x responsive_menu.install \responsive_menu_update_8001()
  5. 4.3.x responsive_menu.install \responsive_menu_update_8001()

Add new config for the breakpoint css file path.

File

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

Code

function responsive_menu_update_8001() {
  \Drupal::configFactory()
    ->getEditable('responsive_menu.settings')
    ->set('breakpoint_css_filepath', 'public://css')
    ->save(TRUE);
}