Skip to content

Instantly share code, notes, and snippets.

@ranqiangjun
Last active December 13, 2018 10:45
Show Gist options
  • Save ranqiangjun/fda3b1b8c2cc581288a46c91b0ad1783 to your computer and use it in GitHub Desktop.
Save ranqiangjun/fda3b1b8c2cc581288a46c91b0ad1783 to your computer and use it in GitHub Desktop.
Generate uuid by drush

ds ev '$uuid_service=\Drupal::service("uuid");$uuid=$uuid_service->generate();echo "$uuid\n";'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment