function drush_domain_conf_set_validate in Domain Access 7.3
File
- domain_conf/
domain_conf.drush.inc, line 70 - Drush commands for Domain Conf.
Code
function drush_domain_conf_set_validate($domain_id = NULL, $name = NULL, $value = NULL) {
if (is_null($domain_id) | is_null($name) || is_null($value)) {
return drush_set_error('domain_conf', dt('Please enter all three required arguments, "dc-set domain_id name value".'));
}
$domain = domain_load($domain_id);
if (!isset($domain['domain_id']) && $domain_id != 'all') {
return drush_set_error('domain_conf', dt('The specified domain does not exist.'));
}
}