- Issue created by @endless_wander
- last update
7 months ago 536 pass - last update
7 months ago 536 pass - πΊπΈUnited States jrockowitz Brooklyn, NY
If the webform module can leverage this API, we should consider adding it. I do not see any immediate use case.
- π¨π¦Canada endless_wander
For me, it provides assistance to a website where a custom module modifies Webforms depending on their category. For example, I modify the attributes and add tooltips to submit, preview, next, previous buttons in a multi-page Webform. Previously, I could just check the single-value "category" attribute of a Webform, but now I was having to get the array of categories and check for the presence of the category I want. Using new isCategory() method, I am able to standardize this check for whether a Webform belongs to a certain category.
- πΊπΈUnited States jrockowitz Brooklyn, NY
For custom code, I find helper functions/methods always useful.
- π¨π¦Canada endless_wander
Yep, me too, so I am using that for my site. Thought this kind of one would help the community. Happy either way.
- πΊπΈUnited States jrockowitz Brooklyn, NY
Let's move this to won't fix unless the webform module or other contrib modules need this API.
- Status changed to Closed: won't fix
7 months ago 7:33pm 13 December 2023