public function DrushLanguageCommands::languageDefault in Drush Language Commands 8
Assign an enabled language as default.
@codingStandardsIgnoreStart @command language:default
@aliases langdef,language-default @codingStandardsIgnoreEnd
Parameters
string $langcode: The langcode of the language which will be set as the default language.
File
- src/
Commands/ DrushLanguageCommands.php, line 61
Class
- DrushLanguageCommands
- Implements the Drush language commands.
Namespace
Drupal\drush_language\CommandsCode
public function languageDefault($langcode) {
$this->cliService
->languageDefault($this
->io(), 'dt', $langcode);
}