Skip to content

Conversation

@LucasSFF
Copy link

@LucasSFF LucasSFF commented Jan 4, 2026

Please, in AssetParameters.php, add the following lines::
new AttributeParameter("comment", __('Comment')),
'comment' => $fields['comment'],

For comment to be one more TWIG variable available for templates:
{{ asset.comment }}

add lines
new AttributeParameter("comment", __('Comment')),
'comment'  => $fields['comment'],
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.

1 participant