Problem/Motivation
Calling generateSampleValue()
on a UUID field does not return a proper UUID.
Proposed resolution
Implement generateSampleValue()
in UuidItem
. Use \Drupal::service('uuid')
to fetch the UUID generator and call generate()
on it to generate the UUID.
Remaining tasks
Task | Novice task? | Contributor instructions | Complete? |
---|---|---|---|
Create a patch | Instructions | ||
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards | Instructions |
User interface changes
None.
API changes
None.
Data model changes
None.