Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296477

UuidItem should implement generateSampleValue

$
0
0

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

Contributor tasks needed
TaskNovice task?Contributor instructionsComplete?
Create a patchInstructions
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standardsInstructions

User interface changes

None.

API changes

None.

Data model changes

None.


Viewing all articles
Browse latest Browse all 296477

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>