You are here

function feeds_tamper_hash_form in Feeds Tamper 6

Same name and namespace in other branches
  1. 7 plugins/hash.inc \feeds_tamper_hash_form()
1 string reference to 'feeds_tamper_hash_form'
hash.inc in plugins/hash.inc

File

plugins/hash.inc, line 16

Code

function feeds_tamper_hash_form($importer, $element_key, $settings) {
  return array(
    'help' => array(
      '#value' => t('Makes the value a hash of the values being imported. This allows for importing content that does not have a unique ID.'),
    ),
    'override' => array(
      '#type' => 'checkbox',
      '#title' => t('Override set value'),
      '#description' => t('If checked, the existing value of this field will be overridden.'),
      '#default_value' => isset($settings['override']) ? $settings['override'] : FALSE,
    ),
  );
}