function salesforce_push_install in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_push/salesforce_push.install \salesforce_push_install()
- 7.3 modules/salesforce_push/salesforce_push.install \salesforce_push_install()
- 5.0.x 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);
}