You are here

function salesforce_push_install in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_push/salesforce_push.install \salesforce_push_install()
  2. 8.3 modules/salesforce_push/salesforce_push.install \salesforce_push_install()
  3. 7.3 modules/salesforce_push/salesforce_push.install \salesforce_push_install()

Implements hook_install().

File

modules/salesforce_push/salesforce_push.install, line 13
Salesforce push install.

Code

function salesforce_push_install() {
  \Drupal::state()
    ->set('salesforce.push_queue_processor', PushQueue::DEFAULT_QUEUE_PROCESSOR);
  \Drupal::state()
    ->set('salesforce.push_queue_max_fails', PushQueue::DEFAULT_MAX_FAILS);
}