function no_autocomplete_drush_command in No Autocomplete 8
Same name and namespace in other branches
- 7 no_autocomplete.drush.inc \no_autocomplete_drush_command()
Implements hook_drush_command().
File
- ./
no_autocomplete.drush.inc, line 14 - Drush commands related to the No Autocomplete module.
Code
function no_autocomplete_drush_command() {
$items['na-login'] = [
'description' => dt('Configures the "autocomplete=off" option on the user login form.'),
'arguments' => [
'status' => dt('The option status (on, off).'),
],
'aliases' => [
'nal',
],
'examples' => [
'na-login' => dt('Show the status for the use of the "autocomplete=off" option in the user login form.'),
'na-login on' => dt('The user login form will use the "autocomplete=off" option.'),
'na-login off' => dt('The user login form will don\'t use the "autocomplete=off" option.'),
],
];
return $items;
}