You are here

function domain_access_update_8001 in Domain Access 8

Add the setting to open the domain access fieldset.

File

domain_access/domain_access.install, line 41
Install, update and uninstall functions for the Domain Access module.

Code

function domain_access_update_8001() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('domain_access.settings');
  $config
    ->set('node_advanced_tab_open', 0);
  $config
    ->save(TRUE);
}