Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
drupal/melt_sticky_drawer / melt_sticky_drawer.install
Size: Mime:
<?php

/**
 * Update page visiblity settings to negate.
 */
function melt_sticky_drawer_update_8001() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory->getEditable('melt_sticky_drawer.stickydrawer');
  $request_path = $config->get('request_path');

  if(!empty($request_path)) {
    $request_path['negate'] = 1;
    $config->set('request_path', $request_path);
    $config->save(TRUE);
    $config->save();
  }

}