Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Invokes hook_preprocess_HOOK().
- *
- * Supplants template_preprocess_field().
- */
- function hook_preprocess_field(&$vars){
- $vars["item_attributes_array"][0]["class"][] = "first";
- $vars['classes_array'][] = 'ThisWorks';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement