You are here

function seckit_update_8101 in Security Kit 8

Same name and namespace in other branches
  1. 2.x seckit.install \seckit_update_8101()

Remove x_content_type from seckit module configuration.

File

./seckit.install, line 11
Install, update and uninstall functions for the seckit module.

Code

function seckit_update_8101() {
  \Drupal::configFactory()
    ->getEditable('seckit.settings')
    ->clear('seckit_xss.x_content_type')
    ->save();
}