Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.
This commit is contained in:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
|
|
@ -0,0 +1,29 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme override to display a list of summary lines.
|
||||
*
|
||||
* Available variables:
|
||||
* - rows: The rows contained in this view.
|
||||
* Each row contains:
|
||||
* - url: The summary link URL.
|
||||
* - link: The summary link text.
|
||||
* - count: The number of items under this grouping.
|
||||
* - attributes: HTML attributes to apply to each row.
|
||||
* - active: A flag indicating whtether the row is active.
|
||||
* - options: Flags indicating how the summary should be displayed.
|
||||
* This contains:
|
||||
* - count: A flag indicating whether the count should be displayed.
|
||||
*
|
||||
* @see template_preprocess_views_view_summary()
|
||||
*/
|
||||
#}
|
||||
<ul>
|
||||
{% for row in rows %}
|
||||
<li><a href="{{ row.url }}"{{ row.attributes.addClass(row.active ? 'is-active')|without('href') }}>{{ row.link }}</a>
|
||||
{% if options.count %}
|
||||
({{ row.count }})
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Reference in a new issue