function diff_update_8001 in Diff 8
Delete stale field diff configuration. Please reconfigure diff plugins.
File
- ./
diff.install, line 62 - Installation hooks for diff module.
Code
function diff_update_8001() {
$config = \Drupal::configFactory()
->getEditable('diff.settings');
$config
->clear('entity');
$config
->save();
$config = \Drupal::configFactory()
->getEditable('diff.plugins');
$config
->clear('field_types');
$config
->save();
}