Issue #2346369 by Wim Leers: Support special '#attached' variable for attaching assets in preprocess functions.