You are here

protected function SalesforceMappingCommandsBase::getPullMappingsFromName 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::getPullMappingsFromName()
  2. 5.0.x modules/salesforce_mapping/src/Commands/SalesforceMappingCommandsBase.php \Drupal\salesforce_mapping\Commands\SalesforceMappingCommandsBase::getPullMappingsFromName()

Given a mappin gname, get an array of matching pull mappings.

Parameters

string $name: The mapping name.

Return value

\Drupal\salesforce_mapping\Entity\SalesforceMappingInterface[] The pull mappings.

Throws

\Exception

3 calls to SalesforceMappingCommandsBase::getPullMappingsFromName()
SalesforcePullCommands::pullQuery in modules/salesforce_pull/src/Commands/SalesforcePullCommands.php
Given a mapping, enqueue records for pull from Salesforce.
SalesforcePullCommands::pullReset in modules/salesforce_pull/src/Commands/SalesforcePullCommands.php
Reset pull timestamps for one or all Salesforce Mappings.
SalesforcePullCommands::pullSet in modules/salesforce_pull/src/Commands/SalesforcePullCommands.php
Set a specific pull timestamp on a single Salesforce Mapping.

File

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

Class

SalesforceMappingCommandsBase
Shared command base for Salesforce Drush commands.

Namespace

Drupal\salesforce_mapping\Commands

Code

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