Skip to content

Instantly share code, notes, and snippets.

@jsalinas
Created June 5, 2017 22:33
Show Gist options
  • Save jsalinas/c3f962c5b8d1a5651326835d815caeb2 to your computer and use it in GitHub Desktop.
Save jsalinas/c3f962c5b8d1a5651326835d815caeb2 to your computer and use it in GitHub Desktop.
{{ devel_dump(content.field_column_content_left[0]) }}
{{ devel_dump(content.field_column_content_left[0]['#paragraph']) }}
{%
set classes = [
'paragraph',
'paragraph--type--' ~ paragraph.bundle|clean_class,
view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class,
]
%}
{% block paragraph %}
<div{{ attributes.addClass(classes) }}>
{% block content %}
{{ content.field_column_content_left }}
{% endblock %}
</div>
{% endblock paragraph %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment