You are here

protected function SqlImportCommand::configure in MongoDB 8.2

File

modules/mongodb_storage/src/Command/SqlImportCommand.php, line 45

Class

SqlImportCommand
Provides the commands.mongodb.storage.import_keyvalue console command.

Namespace

Drupal\mongodb_storage\Command

Code

protected function configure() {
  $name = 'commands.mongodb.storage.import_keyvalue';
  $this
    ->setName('mongodb:storage:import_keyvalue')
    ->setDescription($this
    ->trans("{$name}.description"))
    ->setHelp($this
    ->trans("{$name}.help"))
    ->setAliases([
    'mdbsikv',
    'most-ikv',
  ]);
}