You are here

protected function SalesforceMappingCommandsBase::getPushMappingsFromName in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Commands/SalesforceMappingCommandsBase.php \Drupal\salesforce_mapping\Commands\SalesforceMappingCommandsBase::getPushMappingsFromName()
  2. 5.0.x 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

2 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.

File

modules/salesforce_mapping/src/Commands/SalesforceMappingCommandsBase.php, line 174

Class

SalesforceMappingCommandsBase
Shared command base for Salesforce Drush commands.

Namespace

Drupal\salesforce_mapping\Commands

Code

protected function getPushMappingsFromName($name) {
  return $this
    ->getMappingsFromName($name, 'push');
}