function drupal_sanitize_options
8.0.x drupal.inc | drupal_sanitize_options() |
7.x drupal.inc | drupal_sanitize_options() |
master drupal.inc | drupal_sanitize_options() |
2 calls to drupal_sanitize_options()
- sqlsync_drush_command in commands/
sql/ sqlsync.drush.inc - Implementation of hook_drush_command().
- sql_drush_command in commands/
sql/ sql.drush.inc - Implementation of hook_drush_command().
File
- includes/
drupal.inc, line 261 - Utility functions related to Drupal.
Code
function drupal_sanitize_options() {
return array(
'sanitize-password' => array(
'description' => 'The password to assign to all accounts in the sanitization operation, or "no" to keep passwords unchanged.',
'example-value' => 'password',
'value' => 'required',
),
'sanitize-email' => array(
'description' => 'The pattern for test email addresses in the sanitization operation, or "no" to keep email addresses unchanged. May contain replacement patterns %uid, %mail or %name.',
'example-value' => 'user+%uid@localhost',
'value' => 'required',
),
);
}