You are here

protected function SettingsCommand::configure in MongoDB 8.2

File

modules/mongodb/src/Command/SettingsCommand.php, line 58

Class

SettingsCommand
Class SettingsCommand provides the 'commands.mongodb.settings' command.

Namespace

Drupal\mongodb\Command

Code

protected function configure() {
  $name = static::NAME;
  $this
    ->setName('mongodb:settings')
    ->setAliases([
    'mdbs',
    'mo-set',
  ])
    ->setDescription($this
    ->trans("{$name}.description"))
    ->setHelp($this
    ->trans("{$name}.help"));
}