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

Make sonata optional, support twig components #902

Open
tacman opened this issue Apr 1, 2024 · 0 comments
Open

Make sonata optional, support twig components #902

tacman opened this issue Apr 1, 2024 · 0 comments

Comments

@tacman
Copy link

tacman commented Apr 1, 2024

Feature Request

Currently sonata/blocks-bundle is required. It seems that this could also be rendered as a twig ux component.

{{ sonata_block_render({ 'type': 'nucleos_maps.block.map' }, {
    'longitude': '9.993682',
    'latitude': '53.551086',
    'service': 'openstreetmap'
}) }}

<twig:nucleos_map :longitude="place.lng" :latitude="place.lat" service="openstreetmap" />
@tacman tacman changed the title Make sonata optional, support twig/ux-components Make sonata optional, support twig components Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant