function feeds_tamper_absolute_url_form in Feeds Tamper 7
Same name and namespace in other branches
- 6 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 17
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(
'#markup' => t('Make URLs in markup absolute. (i.e. !links).', array(
'!links' => $links,
)),
);
return $form;
}