Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -12,12 +12,6 @@
|
|||
* - module: The module that provided this block plugin.
|
||||
* - cache: The cache settings.
|
||||
* - Block plugin specific settings will also be stored here.
|
||||
* - block - The full block entity.
|
||||
* - label_hidden: The hidden block title value if the block was
|
||||
* configured to hide the title ('label' is empty in this case).
|
||||
* - module: The module that generated the block.
|
||||
* - delta: An ID for the block, unique within each module.
|
||||
* - region: The block region embedding the current block.
|
||||
* - content: The content of this block.
|
||||
* - attributes: array of HTML attributes populated by modules, intended to
|
||||
* be added to the main container tag of this template.
|
||||
|
@ -40,6 +34,7 @@
|
|||
set classes = [
|
||||
'block',
|
||||
'block-' ~ configuration.provider|clean_class,
|
||||
'block-' ~ plugin_id|clean_class,
|
||||
]
|
||||
%}
|
||||
<div{{ attributes.addClass(classes) }}>
|
||||
|
|
|
@ -21,20 +21,18 @@
|
|||
* @see bartik_preprocess_field()
|
||||
*/
|
||||
#}
|
||||
{% set field_name_class = field_name|clean_class %}
|
||||
{%
|
||||
set classes = [
|
||||
'field',
|
||||
'field-' ~ entity_type|clean_class ~ '--' ~ field_name_class,
|
||||
'field-name-' ~ field_name_class,
|
||||
'field-type-' ~ field_type|clean_class,
|
||||
'field-label-' ~ label_display,
|
||||
'field--name-' ~ field_name|clean_class,
|
||||
'field--type-' ~ field_type|clean_class,
|
||||
'field--label-' ~ label_display,
|
||||
'clearfix',
|
||||
]
|
||||
%}
|
||||
{%
|
||||
set title_classes = [
|
||||
'field-label',
|
||||
'field__label',
|
||||
label_display == 'inline' ? 'inline',
|
||||
]
|
||||
%}
|
||||
|
@ -42,7 +40,7 @@
|
|||
{% if not label_hidden %}
|
||||
<h3{{ title_attributes.addClass(title_classes) }}>{{ label }}</h3>
|
||||
{% endif %}
|
||||
<ul{{ content_attributes.addClass('links', 'field-items') }}>
|
||||
<ul class='links field__items'>
|
||||
{% for item in items %}
|
||||
<li{{ item.attributes }}>{{ item.content }}</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -72,6 +72,7 @@
|
|||
'clearfix',
|
||||
]
|
||||
%}
|
||||
{{ attach_library('classy/node') }}
|
||||
<article{{ attributes.addClass(classes) }}>
|
||||
<header>
|
||||
{{ title_prefix }}
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
* - title: The page title, for use in the actual content.
|
||||
* - title_suffix: Additional output populated by modules, intended to be
|
||||
* displayed after the main title tag that appears in the template.
|
||||
* - tabs: Tabs linking to any sub-pages beneath the current page (e.g., the
|
||||
* view and edit tabs when displaying a node).
|
||||
* - action_links: Actions local to the page, such as "Add menu" on the menu
|
||||
* administration interface.
|
||||
* - node: Fully loaded node, if there is an automatically-loaded node
|
||||
* associated with the page and the node ID is the second argument in the
|
||||
* page's path (e.g. node/12345 and node/12345/revisions, but not
|
||||
|
@ -53,7 +49,6 @@
|
|||
* - page.primary_menu: Items for the primary menu region.
|
||||
* - page.secondary_menu: Items for the secondary menu region.
|
||||
* - page.featured_top: Items for the featured top region.
|
||||
* - page.help: Dynamic help text, mostly for admin pages.
|
||||
* - page.content: The main content of the current page.
|
||||
* - page.sidebar_first: Items for the first sidebar.
|
||||
* - page.sidebar_second: Items for the second sidebar.
|
||||
|
@ -131,20 +126,11 @@
|
|||
<a id="main-content" tabindex="-1"></a>
|
||||
{{ title_prefix }}
|
||||
{% if title %}
|
||||
<h1 class="title" id="page-title">
|
||||
<h1 class="title page-title">
|
||||
{{ title }}
|
||||
</h1>
|
||||
{% endif %}
|
||||
{{ title_suffix }}
|
||||
{% if tabs %}
|
||||
<nav class="tabs" role="navigation" aria-label="{{ 'Tabs'|t }}">
|
||||
{{ tabs }}
|
||||
</nav>
|
||||
{% endif %}
|
||||
{{ page.help }}
|
||||
{% if action_links %}
|
||||
<ul class="action-links">{{ action_links }}</ul>
|
||||
{% endif %}
|
||||
{{ page.content }}
|
||||
</section>
|
||||
</main>
|
||||
|
@ -165,8 +151,8 @@
|
|||
</div>
|
||||
</div>
|
||||
{% if page.featured_bottom_first or page.featured_bottom_second or page.featured_bottom_third %}
|
||||
<div id="featured-bottom-wrapper">
|
||||
<aside id="featured-bottom" class="section layout-container clearfix" role="complementary">
|
||||
<div class="featured-bottom">
|
||||
<aside class="layout-container clearfix" role="complementary">
|
||||
{{ page.featured_bottom_first }}
|
||||
{{ page.featured_bottom_second }}
|
||||
{{ page.featured_bottom_third }}
|
||||
|
|
Reference in a new issue