You are here

function drush_onlyone_disable_validate in Allow a content type only once (Only One) 7

Same name and namespace in other branches
  1. 8 onlyone.drush.inc \drush_onlyone_disable_validate()

Implements drush_hook_COMMAND_validate().

File

./onlyone.drush.inc, line 257
Drush commands related to the Only One module.

Code

function drush_onlyone_disable_validate() {
  $args = func_get_args();
  if (!_drush_onlyone_validate_content_type($args)) {
    return;
  }
}