You are here

function drush_uuid_create_missing in Universally Unique IDentifier 7

Same name and namespace in other branches
  1. 6 uuid.drush.inc \drush_uuid_create_missing()

Drush command callback.

File

./uuid.drush.inc, line 33
Drush implementation for the uuid module.

Code

function drush_uuid_create_missing() {
  if (!drush_confirm(dt('Are you sure?'))) {
    return drush_user_abort();
  }
  module_load_include('inc', 'uuid', 'uuid');
  drush_log(dt('Beginning bulk creation of UUIDs.'), 'ok');
  uuid_sync_all();
}