Closed (fixed)
Project:
Flag
Version:
7.x-3.x-dev
Component:
Flag core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2012 at 17:17 UTC
Updated:
23 May 2013 at 07:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedCan't you do:
If that won't work, could you explain more what you mean by:
> from preprocess to process
or better yet, write a patch?
Comment #2
joachim commentedOh I think I see what you mean for the problem at least:
you mean that these classes are already imploded and you can't easily remove some?
Comment #3
pixelwhip commentedYep, #2 is exactly what I meant. There are number of workarounds. It just threw me for a loop because altering
$variables['flag_class_array']won't do anything unless you reimplode it.Comment #4
Zarabadoo commentedHere is a patch to get this started.
Comment #5
ultimateboy commentedSetting status.
Comment #6
joachim commentedFunction summary should one line and a single sentence.
I would move 'This converts class arrays to' to an inline comment.
We should document @param variables, even if very very briefly!
(I see you've followed the model of the preprocess function, but that's all wrong!)
Comment #7
socketwench commentedMoved like to inline comment, added a @param.
Comment #8
joachim commentedFixed the wording of the docbloc.
Replaced a very crusty join() with an implode() while we're at it.
git commit -m "Issue #1793572 by Zarabadoo, socketwench: Changed the creation of CSS class variables from being handled in theme preprocessor to theme processor." --author="zarabadoo "