You are here

function feeds_tamper_hash_form in Feeds Tamper 7

Same name and namespace in other branches
  1. 6 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(
      '#markup' => 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,
    ),
  );
}