Created
November 19, 2012 09:47
-
-
Save amitaibu/4109877 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach ($item_variations as $item_variation) { | |
$nid = $item_variation->nid; | |
$form[$nid] = array( | |
'#markup' => check_plain($item_variation->title); | |
); | |
foreach ($types as $type) { | |
$form[$nid][$type] = array( | |
'#markup' => check_plain($label); | |
); | |
foreach ($sizes as $size) { | |
$form[$nid][$type][$size] = array( | |
'#type' => 'textfield', | |
'#element_validate' => 'integer', | |
'#default_value', | |
); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment