You are here

function theme_custom_formatters_export_ui_form_preview in Custom Formatters 7.2

Theme for Preview form.

Parameters

array $variable: The theme variables array.

Return value

string The rendered output.

1 theme call to theme_custom_formatters_export_ui_form_preview()
custom_formatters_export_ui_form in plugins/export_ui/custom_formatters.inc
Custom Formatters settings form.

File

plugins/export_ui/custom_formatters.inc, line 539
CTools Export UI plugin for SexyBookmarks profiles.

Code

function theme_custom_formatters_export_ui_form_preview($variable) {
  $form = $variable['form'];
  $output = '';
  $output .= theme('table', array(
    'rows' => array(
      array(
        render($form['entity_type']),
        render($form['bundle']),
        render($form['field']),
        render($form['entity']),
      ),
      array(
        array(
          'data' => render($form['options']),
          'colspan' => 3,
        ),
        render($form['button']),
      ),
    ),
  ));
  $output .= render($form['preview']);
  return $output;
}