function administration_language_negotiation_update_8101 in Administration Language Negotiation 8
Set admin_routes setting to false.
File
- ./
administration_language_negotiation.install, line 36
Code
function administration_language_negotiation_update_8101() {
$config = \Drupal::configFactory()
->getEditable('administration_language_negotiation.negotiation');
$config
->set('admin_routes', FALSE);
$config
->save();
}