You are here

function salesforce_update_8002 in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 salesforce.install \salesforce_update_8002()
  2. 8.3 salesforce.install \salesforce_update_8002()

Install new "Limit revisions" setting; defaults to 10.

File

./salesforce.install, line 231
Salesforce install file.

Code

function salesforce_update_8002() {
  $settings = \Drupal::configFactory()
    ->getEditable('salesforce.settings');
  $settings
    ->set('limit_mapped_object_revisions', 10);
  $settings
    ->save();
}