diff vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/relationship.twig @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
line wrap: on
line diff
--- a/vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/relationship.twig	Thu Feb 28 11:14:44 2019 +0000
+++ b/vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/relationship.twig	Thu Feb 28 13:11:55 2019 +0000
@@ -12,7 +12,7 @@
   'title' => t('{{ plugin_name }}'),
   'description' => t('{{ description }}'),
 {% if context == 'Node' or context == 'User' %}
-  'required context' => new ctools_context_required(t('{{ context }}'), '{{ context | lower }}'),
+  'required context' => new ctools_context_required(t('{{ context }}'), '{{ context|lower }}'),
 {% elseif  context == 'Term' %}
   'required context' => new ctools_context_required(t('{{ context }}'), array('term', 'taxonomy_term')),
 {% endif %}
@@ -31,7 +31,7 @@
   }
 
 {% if context == 'Node' or context == 'Term' %}
-  ${{ context | lower }} = clone $context->data;
+  ${{ context|lower }} = clone $context->data;
 
 {% elseif  context == 'User' %}
 {# Use $account variable avoid confusion with the global $user object #}