You are here

function feeds_tamper_absolute_url_form in Feeds Tamper 6

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

File

plugins/absolute_url.inc, line 15

Code

function feeds_tamper_absolute_url_form($importer, $element_key, $settings) {
  $form = array();
  $links = htmlentities('<a href="/stuff/things"> to <a href="http://example.com/stuff/things">');
  $form['info'] = array(
    '#value' => t('Make URLs in markup absolute. (i.e. !links).', array(
      '!links' => $links,
    )),
  );
  return $form;
}