function preview_link_update_8101 in Preview Link 8
Install the settings object.
File
- ./
preview_link.install, line 11 - Install file.
Code
function preview_link_update_8101() {
$config = \Drupal::configFactory()
->getEditable('preview_link.settings');
$config
->set('enabled_entity_types', []);
$config
->save(TRUE);
}