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

Block settings and attributes in block template #106

Open
jmaekki opened this issue Apr 8, 2021 · 0 comments
Open

Block settings and attributes in block template #106

jmaekki opened this issue Apr 8, 2021 · 0 comments

Comments

@jmaekki
Copy link

jmaekki commented Apr 8, 2021

Is there a way to get block settings and attributes in the block template when using PHP renderer (or CallableRenderer)? Currently, PHP renderer extracts only $fields['data'], but I would like to have $block variable too ($fields['block'] in this case) to get, for example, block align or ID.

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

No branches or pull requests

1 participant