Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x] Add global uniqid function for generating unique IDs #8571

Merged
merged 3 commits into from Aug 11, 2023

Conversation

jacksleight
Copy link
Contributor

@jacksleight jacksleight commented Aug 11, 2023

This PR adds a global uniqid function so that addons can generate unique IDs without having to import the uniqid package themselves.

@jasonvarga
Copy link
Member

I'd just call the function uniqid()

@jacksleight
Copy link
Contributor Author

Yeah makes sense, done 👍

@jacksleight jacksleight changed the title [4.x] Add global row_id function for generating unique IDs [4.x] Add global uniqid function for generating unique IDs Aug 11, 2023
@jasonvarga jasonvarga merged commit c3e51b6 into statamic:4.x Aug 11, 2023
17 checks passed
@jacksleight jacksleight deleted the row-id-global branch August 11, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants