X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fd7%2Fctools-plugin%2Frelationship.twig;fp=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fd7%2Fctools-plugin%2Frelationship.twig;h=bd5fbc2479dae56580f7066ad9b0c8d2208d544a;hp=252e68c7bd43cb9f5bac53c140a17d897060d98c;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/relationship.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/relationship.twig index 252e68c7b..bd5fbc247 100644 --- a/vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/relationship.twig +++ b/vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/relationship.twig @@ -12,7 +12,7 @@ $plugin = array( '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 @@ function {{ machine_name }}_{{ plugin_machine_name }}_context($context, $conf) { } {% 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 #}