function allow_iframed_site_uninstall in Allow site iframing 8
Same name and namespace in other branches
- 3.0.x allow_iframed_site.install \allow_iframed_site_uninstall()
Implements hook_uninstall().
File
- ./
allow_iframed_site.install, line 6
Code
function allow_iframed_site_uninstall() {
/** @var \Drupal\Core\Config\ConfigFactory $configFactory */
// $configFactory = \Drupal::configFactory();
/** @var \Drupal\Core\Config\Config $config */
$config = \Drupal::configFactory()
->getEditable('allow_iframed_site.settings');
$config
->delete();
$logger = \Drupal::logger('allow_iframed_site');
// foreach ($config->getRawData() as $key => $conf) {
// $conf->delete();
//// $configFactory->getEditable($configName)->delete();
// }
}