You are here

public function SalesforceMappingStorage::loadCronPushMappings in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/SalesforceMappingStorage.php \Drupal\salesforce_mapping\SalesforceMappingStorage::loadCronPushMappings()
  2. 5.0.x modules/salesforce_mapping/src/SalesforceMappingStorage.php \Drupal\salesforce_mapping\SalesforceMappingStorage::loadCronPushMappings()

Get push Mappings to be processed during cron.

Return value

\Drupal\salesforce_mapping\Entity\SalesforceMappingInterface[] The Mappings to process.

File

modules/salesforce_mapping/src/SalesforceMappingStorage.php, line 111

Class

SalesforceMappingStorage
Class MappedObjectStorage.

Namespace

Drupal\salesforce_mapping

Code

public function loadCronPushMappings() {
  if ($this->configFactory
    ->get('salesforce.settings')
    ->get('standalone')) {
    return [];
  }
  $properties["push_standalone"] = FALSE;
  return $this
    ->loadPushMappingsByProperties($properties);
}