My project comes up with a request on checking the system variable value (which is often retrieved by variable_get())
I make this context condition (patch below), hope it helps for who got the same issue with me

CommentFileSizeAuthor
#1 context-condition_variable-1963530.patch3.42 KBdk129

Comments

dk129’s picture

StatusFileSize
new3.42 KB

patch

dk129’s picture

usage:
in condition form, select your target variable, then make a simple conditional expression for its value
eg:
$value == true;
if your variable returns you an array, you can try with:
$value['filter'] == 'html';

doublejosh’s picture

Issue summary: View changes

OMG, this should happen.