function salesforce_update_8002 in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 salesforce.install \salesforce_update_8002()
- 5.0.x salesforce.install \salesforce_update_8002()
Install new "Limit revisions" setting; defaults to 10.
File
- ./
salesforce.install, line 232 - Salesforce install file.
Code
function salesforce_update_8002() {
$settings = \Drupal::configFactory()
->getEditable('salesforce.settings');
$settings
->set('limit_mapped_object_revisions', 10);
$settings
->save();
}