You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: