Posted by jamiecuthill on
When adding form col variants with the alter hook the links don't show because they are put on #value rather than #markup.
The correct syntax for the form api should be nodeformcols.admin.inc:127
$form['variant'] = array(
'#type' => 'item',
'#title' => t('Select a form variant'),
'#markup' => theme('links', array('links' => $variant_links)),