protected function SalesforceMappingCommandsBase::getPushMappingsFromName in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Commands/SalesforceMappingCommandsBase.php \Drupal\salesforce_mapping\Commands\SalesforceMappingCommandsBase::getPushMappingsFromName()
- 8.3 modules/salesforce_mapping/src/Commands/SalesforceMappingCommandsBase.php \Drupal\salesforce_mapping\Commands\SalesforceMappingCommandsBase::getPushMappingsFromName()
Given a mapping name, get an array of matching push mappings.
Parameters
string $name: The mapping name.
Return value
\Drupal\salesforce_mapping\Entity\SalesforceMappingInterface[] The matching mappings.
Throws
\Exception
3 calls to SalesforceMappingCommandsBase::getPushMappingsFromName()
- SalesforcePushCommands::pushQueue in modules/
salesforce_push/ src/ Commands/ SalesforcePushCommands.php - Process push queues for one or all Salesforce Mappings.
- SalesforcePushCommands::pushUnmapped in modules/
salesforce_push/ src/ Commands/ SalesforcePushCommands.php - Push entities of a mapped type that are not linked to Salesforce Objects.
- SalesforcePushCommands::requeue in modules/
salesforce_push/ src/ Commands/ SalesforcePushCommands.php - Requeue mapped entities for asynchronous push.
File
- modules/
salesforce_mapping/ src/ Commands/ SalesforceMappingCommandsBase.php, line 195
Class
- SalesforceMappingCommandsBase
- Shared command base for Salesforce Drush commands.
Namespace
Drupal\salesforce_mapping\CommandsCode
protected function getPushMappingsFromName($name) {
return $this
->getMappingsFromName($name, 'push');
}