You are here

function administration_language_negotiation_update_8100 in Administration Language Negotiation 8

Remove default_language config.

File

./administration_language_negotiation.install, line 27

Code

function administration_language_negotiation_update_8100() {
  $config = \Drupal::configFactory()
    ->getEditable('administration_language_negotiation.negotiation');
  $config
    ->clear('default_language');
  $config
    ->save();
}