Skip to content
Snippets Groups Projects
Commit 8f385cc5 authored by Moisés Rodríguez Carmona's avatar Moisés Rodríguez Carmona Committed by Damien McKenna
Browse files

Issue #3373838 by vengador, DamienMcKenna: Invalid placeholder warning.

parent b2516578
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ Advanced Views RSS Feed 8.x-2.x-dev, 2022-xx-xx
#3367262 by DamienMcKenna: Don't add empty media:thumbnail element.
#3203306 by DamienMcKenna, mventure2021, mlncn: Error: Call to undefined
function Drupal\views_rss\Plugin\views\style\_url().
#3373838 by vengador, DamienMcKenna: Invalid placeholder warning.
Advanced Views RSS Feed 8.x-2.0, 2023-06-14
......
......@@ -255,8 +255,8 @@ class RssFields extends StylePluginBase {
$form['feed_settings']['absolute_paths'] = [
'#type' => 'checkbox',
'#title' => $this->t("Replace relative paths with absolute URLs"),
'#description' => $this->t('Enabling this option will replace all relative paths (like <em>/node/1</em>) with absolute URLs (<em>!absolute_url</em>) in all feed elements configured to use this feature (for example &lt;description&gt; element).', [
'!absolute_url' => trim($GLOBALS['base_url'], '/') . '/node/1',
'#description' => $this->t('Enabling this option will replace all relative paths (like <em>/node/1</em>) with absolute URLs (<em>@absolute_url</em>) in all feed elements configured to use this feature (for example &lt;description&gt; element).', [
'@absolute_url' => trim($GLOBALS['base_url'], '/') . '/node/1',
]),
'#default_value' => !empty($this->options['feed_settings']['absolute_paths']),
'#weight' => 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment