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

PHP - How to increase size of POST value in php

D8 KernelEvents constants

D8 - Attach file programmatically to a node