Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Uuid.php

Uuid::$strict

Strict mode only allows UUIDs that meet the formal definition and formatting per RFC 9562/4122.

Set this to `false` to allow legacy formats with different dash positioning or wrapping characters

Type: strict

File

vendor/symfony/validator/Constraints/Uuid.php, line 83

Class

Uuid
Validates that a value is a valid Universally unique identifier (UUID).

Namespace

Symfony\Component\Validator\Constraints

Code

public bool $strict = true;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal