You are here

public function SalesforceMappingCommands::interactPurgeMapping in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Commands/SalesforceMappingCommands.php \Drupal\salesforce_mapping\Commands\SalesforceMappingCommands::interactPurgeMapping()
  2. 8.3 modules/salesforce_mapping/src/Commands/SalesforceMappingCommands.php \Drupal\salesforce_mapping\Commands\SalesforceMappingCommands::interactPurgeMapping()

Interactively gather a salesforce mapping name.

@hook interact salesforce_mapping:purge-mapping

File

modules/salesforce_mapping/src/Commands/SalesforceMappingCommands.php, line 164

Class

SalesforceMappingCommands
A Drush commandfile.

Namespace

Drupal\salesforce_mapping\Commands

Code

public function interactPurgeMapping(Input $input, Output $output) {
  return $this
    ->interactMapping($input, $output, 'Choose a Salesforce mapping', 'Purge All');
}