D8 - Programmatically Delete configuration settings

Execute the below code in hook_preprocess_page or hook_preprocess_html

Drupal::configFactory()->getEditable('simplesamlphp_auth.settings')->delete();

Comments

Popular posts from this blog

D8 KernelEvents constants