I have created a variable in a Block but when I try to access this on another block, I cannot get the value of that variable.

Is there something I need to set?

Comments

dinakaran.ilango’s picture

in drupal 7 we can use drupal_static to print variables

you can see more details in the following link

http://stackoverflow.com/questions/4997406/pass-a-php-variable-from-a-vi...

jaypabs’s picture

Thank you.

It works!