I think I would prefer to see this in some other form. Perhaps a composer plugin would be a nice option? If the plugin could be a dependency of core-dev then it could scaffold the .ddev files from a core repository.
DamienMcKenna → credited lolcode → .
DamienMcKenna → credited lolcode → .
DamienMcKenna → credited lolcode → .
Attending to check in while I belatedly get my one module updated for D10.
I ran across this issue today which seems to have cropped up recently for us.
I reviewed the merge request and I can see that the code change doesn't preserve the same logic.
The original code is checking the boolean value of the '#access' key to see if the element is accessible.
https://www.drupal.org/docs/drupal-apis/form-api/form-render-elements#s-... →
The new version is only checking if the value isset which is different.
I would also really benefit from this feature. I have updated the issue summary with some details.
Added a Schema.
DamienMcKenna → credited lolcode → .
I think that there is a documentation or missing API issue. I can use namespaces to include other templates.
However, I can't seem to find a Twig function to resolve a namespaced path so that I can print an image link.
For example in my base theme I want to do this:
<img
src="@mytheme/library/01-atoms/file-type-icons/images/{{ extension }}.png" alt="{{ extension }} file format"
class="{{ classes|join(' ') }}">