- π¬π§United Kingdom catch
At the moment this is tackling things in one patch rather than sub-issues, so moving to a task. If we want to split out we can do that later.
- Status changed to Needs work
almost 2 years ago 2:34pm 30 January 2023 - πΊπΈUnited States smustgrave
New functions will have to be typehinted
Schema additions will need a post_update hook (with test case) - πΊπΈUnited States mortona2k Seattle
I'm looking into customizing generated dummy content using devel_generate. That uses the fields generateSampleValue() function.
The two places I'm aware of this function being used are for in the Layout Builder UI and Devel Generate.
In LB, I want to see dummy values that resemble my content.
In Devel Generate, I want dummy values in line with the data I'm using.
To override this function on a field... I have to create my own class and override the field?
What I'm looking for is an easier way to override generateSampleValue().
- Status changed to Needs review
7 months ago 4:15pm 2 June 2024 - ππΊHungary Sweetchuck Budapest
@catch and @smustgrave Issue category changed from Plan to Task, and the issue status is "Needs work", but what exactly the proposed solution?
If somebody wants to work on this, then where to start and a βhow to implementβ guide would be useful.
For me the hints from comment #29 is not enough.New functions will have to be typehinted
Schema additions will need a post_update hook (with test case) - Status changed to Needs work
7 months ago 4:24pm 2 June 2024 The Needs Review Queue Bot β tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request β . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)