You are here

function drush_yamlform_purge_validate in YAML Form 8

Implements drush_hook_COMMAND_validate().

File

drush/yamlform.drush.inc, line 270
YAML Form module drush commands.

Code

function drush_yamlform_purge_validate($yamlform_id = NULL) {

  // If form id is set to 'all' or  not included skip validation.
  if (drush_get_option('all') || $yamlform_id == NULL) {
    return;
  }
  return _drush_yamlform_validate($yamlform_id);
}