You are here

function drush_variable_realm_set_validate in Variable 7.2

Drush command callback. Validate parameters

File

variable_realm/variable_realm.drush.inc, line 73
Drush commands for Variable Realm.

Code

function drush_variable_realm_set_validate($realm_name = NULL, $realm_key = NULL, $variable_name = NULL, $value = NULL) {
  if (is_null($realm_name) | is_null($realm_key) || is_null($variable_name) || is_null($value)) {
    return drush_set_error('variable_realm', dt('Please enter all four required arguments, "dc-set realm_name realm_key variable_name value".'));
  }
}