function layouter_img_caption_text_form in Layouter - WYSIWYG layout templates 7
Returns Form for adding content for two_columns_img_left_text_right layout.
1 string reference to 'layouter_img_caption_text_form'
- layouter_layouter_templates in includes/
layouter.inc - Implements hook_layouter_templates().
File
- includes/
layouter.pages.inc, line 196 - File with pages callbacks.
Code
function layouter_img_caption_text_form($form, &$form_state) {
$form_state['title'] = $form_state['form_info']['forms'][$form_state['step']]['form title'];
$form['text_content'] = layouter_text_content();
$form['image_content'] = array(
'#type' => 'fieldset',
'#tree' => 1,
'#title' => t('Image'),
);
$form['image_content']['image'] = layouter_image_content();
$form['image_content']['image_style'] = layouter_image_style();
$form['image_content']['caption'] = array(
'#type' => 'textarea',
'#title' => t('Caption'),
);
return $form;
}