public function MongodbCommands::mongodbSettings in MongoDB 8.2
Print MongoDB settings in Yaml format.
@usage mongodb:settings Report on the settings as seen by the MongoDB module suite.
The "unused" $options allows Drush to know the command should support the --format option, with the chosen default.
@command mongodb:settings @aliases mdbs,mo-set
File
- modules/
mongodb/ src/ Commands/ MongodbCommands.php, line 105
Class
- MongodbCommands
- Drush 9 commands service for the mongodb module.
Namespace
Drupal\mongodb\CommandsCode
public function mongodbSettings($options = [
'format' => 'yaml',
]) {
return $this->tools
->settings();
}