Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663

This commit is contained in:
Greg Anderson 2015-10-08 11:40:12 -07:00
parent eb34d130a8
commit f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions

View file

@ -3,10 +3,6 @@
* @file
* Default theme implementation for a single field in a view.
*
* It is not actually used in default views, as this is registered as a theme
* function which has better performance. For single overrides, the template is
* perfectly okay.
*
* Available variables:
* - view: The view that the field belongs to.
* - field: The field handler that can process the input.
@ -24,4 +20,4 @@
* @ingroup themeable
*/
#}
{{ output }}
{{ output -}}

View file

@ -17,6 +17,9 @@
* - label: The field's label text.
* - label_element: An HTML element for a label wrapper.
* - label_attributes: List of attributes for label wrapper.
* - label_suffix: Colon after the label.
* - element_type: An HTML element for the field content.
* - element_attributes: List of attributes for HTML element for field content.
* - has_label_colon: A boolean indicating whether to display a colon after
* the label.
* - element_type: An HTML element for the field content.
@ -28,12 +31,6 @@
* @ingroup themeable
*/
#}
{#
THIS FILE IS NOT USED AND IS HERE AS A STARTING POINT FOR CUSTOMIZATION ONLY.
See http://api.drupal.org/api/function/theme_views_view_fields/8 for details.
After copying this file to your theme's folder and customizing it, remove this
comment.
#}
{% for field in fields -%}
{{ field.separator }}
{%- if field.wrapper_element -%}
@ -41,9 +38,9 @@ comment.
{%- endif %}
{%- if field.label -%}
{%- if field.label_element -%}
<{{ field.label_element }}{{ field.label_attributes }}>{{ field.label }}{{ field.has_label_colon ? ': ' }}</{{ field.label_element }}>
<{{ field.label_element }}{{ field.label_attributes }}>{{ field.label }}{{ field.label_suffix }}</{{ field.label_element }}>
{%- else -%}
{{ field.label }}{{ field.has_label_colon ? ': ' }}
{{ field.label }}{{ field.label_suffix }}
{%- endif %}
{%- endif %}
{%- if field.element_type -%}