You are here

function feeds_tamper_implode_form in Feeds Tamper 7

Same name and namespace in other branches
  1. 6 plugins/implode.inc \feeds_tamper_implode_form()
1 string reference to 'feeds_tamper_implode_form'
implode.inc in plugins/implode.inc

File

plugins/implode.inc, line 18

Code

function feeds_tamper_implode_form($importer, $element_key, $settings) {
  $form = array();
  $form['glue'] = array(
    '#type' => 'textfield',
    '#title' => t('String glue'),
    '#default_value' => isset($settings['glue']) ? $settings['glue'] : ',',
    '#description' => t('Join array elements into a string. For example, array(\'a\', \'b\', \'c\') would become "a, b, c".
                        A space can be represented by %s, tabs by %t, and newlines by %n.'),
  );
  return $form;
}