You are here

function layouter_text_img_form in Layouter - WYSIWYG layout templates 7

Returns Form for adding content for two_columns_text_img_left layout.

1 string reference to 'layouter_text_img_form'
layouter_layouter_templates in includes/layouter.inc
Implements hook_layouter_templates().

File

includes/layouter.pages.inc, line 245
File with pages callbacks.

Code

function layouter_text_img_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();
  return $form;
}