How do you use the multiple assignable theme variables in the "Configure Block" dialog?

Comments

info@cgfix.com’s picture

OH,

Here it is in the ReadMe file.

6. In your custom block templates, you can also use values from the
$blocktheme_vars variable. This array contains custom variables defined in the
block edit form, right below the block theme selection.

my_var|value corresponds to $blocktheme_vars['my_var']

info@cgfix.com’s picture

Also

use the following code to detect if the variable is defined to prevent errors.

if( isset($blocktheme_vars) ){

}

astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks