Attached is a patch which integrates ctools with strong arm. The patch makes the variables table available to ctools' export.inc and checks to see if any default values are provided via a ctools style defaults hook.

Comments

jmiccolis’s picture

StatusFileSize
new1.36 KB

patch...

dmitrig01’s picture

you are crazy

yhahn’s picture

StatusFileSize
new16.22 KB

Here's a new version of the patch that pushes this concept more fully through the code. Probably the start of strongarm 2.x

jmiccolis’s picture

@dmitrig01, young is clearly more crazy.

@yhahn, awesome patch. Do we need to look (or did you look) into how reliable the timestamp on the variable cache is? I'm trying to think of what kind of race conditions (with concurrent page requests/cache clears) could bite us here.

jmiccolis’s picture

Status: Needs review » Fixed

This code was committed on November 20th and is indeed the beginning of strongarm 2.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.