Uuid::VALID_PATTERN
Same name in other branches
- 9 core/lib/Drupal/Component/Uuid/Uuid.php \Drupal\Component\Uuid\Uuid::VALID_PATTERN
- 8.9.x core/lib/Drupal/Component/Uuid/Uuid.php \Drupal\Component\Uuid\Uuid::VALID_PATTERN
- 11.x core/lib/Drupal/Component/Uuid/Uuid.php \Drupal\Component\Uuid\Uuid::VALID_PATTERN
The pattern used to validate a UUID string.
File
-
core/
lib/ Drupal/ Component/ Uuid/ Uuid.php, line 13
Class
- Uuid
- UUID Helper methods.
Namespace
Drupal\Component\UuidCode
const VALID_PATTERN = '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.