You are here

public function SalesforceMappingCommands::interactPurgeAll 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::interactPurgeAll()
  2. 8.3 modules/salesforce_mapping/src/Commands/SalesforceMappingCommands.php \Drupal\salesforce_mapping\Commands\SalesforceMappingCommands::interactPurgeAll()

Interactively gather a salesforce mapping name.

@hook interact salesforce_mapping:purge-all

File

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

Class

SalesforceMappingCommands
A Drush commandfile.

Namespace

Drupal\salesforce_mapping\Commands

Code

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