You are here

public function SalesforceMappingCommands::interactPurgeDrupal in Salesforce Suite 8.4

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

Interactively gather a salesforce mapping name.

@hook interact salesforce_mapping:purge-drupal

File

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

Class

SalesforceMappingCommands
A Drush commandfile.

Namespace

Drupal\salesforce_mapping\Commands

Code

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