How to Set configuration at the module installation
To set configuration at the module installation
Exemple: $site_name = \Drupal::config('system.site')->get('name');
// Set the site name.
\Drupal::configFactory()->getEditable('system.site')->set('name', 'My site')->save();
Comments