projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d7
/
ctools-plugin
/
content-type.twig
diff --git
a/vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/content-type.twig
b/vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/content-type.twig
index 138e99467496ddc0efad66374fcf77f164943213..26a53b973f6a1f82468bebd7b172cbd5541c05c8 100644
(file)
--- a/
vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/content-type.twig
+++ b/
vendor/chi-teck/drupal-code-generator/templates/d7/ctools-plugin/content-type.twig
@@
-13,7
+13,7
@@
$plugin = array(
'title' => t('{{ plugin_name }}'),
'description' => t('{{ description }}'),
{% if context == 'Node' or context == 'User' %}
'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 %}
{% elseif context == 'Term' %}
'required context' => new ctools_context_required(t('{{ context }}'), array('term', 'taxonomy_term')),
{% endif %}
@@
-33,7
+33,7
@@
function {{ machine_name }}_{{ plugin_machine_name }}_content_type_render($subty
{% endif %}
{% if context == 'Node' or context == 'Term' %}
{% endif %}
{% if context == 'Node' or context == 'Term' %}
- ${{ context
|
lower }} = clone $context->data;
+ ${{ context
|
lower }} = clone $context->data;
{% elseif context == 'User' %}
{# Use $account variable to avoid confusion with the global $user object #}
$account = clone $context->data;
{% elseif context == 'User' %}
{# Use $account variable to avoid confusion with the global $user object #}
$account = clone $context->data;