function no_autocomplete_drush_command in No Autocomplete 7
Same name and namespace in other branches
- 8 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'] = array(
'description' => dt('Configures the "autocomplete=off" option on the user login form.'),
'arguments' => array(
'status' => dt('The option status (on, off).'),
),
'aliases' => array(
'nal',
),
'examples' => array(
'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;
}