You are here

function encrypt_update_8003 in Encrypt 8.3

Set new allow_deprecated_plugins configuration property to default value.

File

./encrypt.install, line 82
Install and hook_update_nn functions for the encrypt module.

Code

function encrypt_update_8003() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('encrypt.settings');
  $config
    ->set('allow_deprecated_plugins', FALSE);
  $config
    ->save(TRUE);
}