You are here

function drush_devel_generate_uuid in Devel 8

Same name and namespace in other branches
  1. 8.3 drush/devel.drush8.inc \drush_devel_generate_uuid()
  2. 8.2 drush/devel.drush8.inc \drush_devel_generate_uuid()

Command callback. Outputs a UUID.

Return value

string A freshly generated UUID.

File

drush/devel.drush8.inc, line 214
This file is only used by Drush8. Drush9 discovers its commands via tagged service(s) in devel.services.yml. Also see classes in src/Commands.

Code

function drush_devel_generate_uuid() {
  $uuid = new Php();
  return $uuid
    ->generate();
}