You are here

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

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

Implements drush_hook_COMMAND_validate().

File

./onlyone.drush.inc, line 254
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;
  }
}