Update to Drupal 8.0.1. For more information, see https://www.drupal.org/node/2627402
This commit is contained in:
parent
013aaaf2ff
commit
1a0e9d9fac
153 changed files with 1268 additions and 670 deletions
|
@ -14,8 +14,8 @@
|
|||
{# When rendering a menu without label, render a menu toggle. #}
|
||||
<div class="menu-toggle-target menu-toggle-target-show" id="{{ show_anchor }}"></div>
|
||||
<div class="menu-toggle-target" id="{{ hide_anchor }}"></div>
|
||||
<a class="menu-toggle" href="#{{ show_anchor }}">{{ 'Menu'|t }}</a>
|
||||
<a class="menu-toggle menu-toggle--hide" href="#{{ hide_anchor }}">{{ 'Menu'|t }}</a>
|
||||
<a class="menu-toggle" href="#{{ show_anchor }}">{% trans %} Show — {{ configuration.label }}{% endtrans %}</a>
|
||||
<a class="menu-toggle menu-toggle--hide" href="#{{ hide_anchor }}">{% trans %} Hide — {{ configuration.label }}{% endtrans %}</a>
|
||||
{{ content }}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
* - label_display: The display settings for the label.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see bartik_preprocess_field()
|
||||
*/
|
||||
#}
|
||||
{%
|
||||
|
@ -40,7 +39,7 @@
|
|||
{% if not label_hidden %}
|
||||
<h3{{ title_attributes.addClass(title_classes) }}>{{ label }}</h3>
|
||||
{% endif %}
|
||||
<ul class='links field__items'>
|
||||
<ul class="links field__items">
|
||||
{% for item in items %}
|
||||
<li{{ item.attributes }}>{{ item.content }}</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -20,12 +20,7 @@
|
|||
* Site identity:
|
||||
* - front_page: The URL of the front page. Use this instead of base_path when
|
||||
* linking to the front page. This includes the language domain or prefix.
|
||||
* - logo: The url of the logo image, as defined in theme settings.
|
||||
* - site_name: The name of the site. This is empty when displaying the site
|
||||
* name has been disabled in the theme settings.
|
||||
* - site_slogan: The slogan of the site. This is empty when displaying the site
|
||||
* slogan has been disabled in theme settings.
|
||||
|
||||
*
|
||||
* Page content (in order of occurrence in the default page.html.twig):
|
||||
* - 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
|
||||
|
@ -52,7 +47,6 @@
|
|||
* - page.breadcrumb: Items for the breadcrumb region.
|
||||
*
|
||||
* @see template_preprocess_page()
|
||||
* @see bartik_preprocess_page()
|
||||
* @see html.html.twig
|
||||
*/
|
||||
#}
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
* - status_headings: List of all status types.
|
||||
* - display: (optional) May have a value of 'status' or 'error' when only
|
||||
* displaying messages of that specific type.
|
||||
*
|
||||
* @see template_preprocess_status_messages()
|
||||
*/
|
||||
#}
|
||||
{% block messages %}
|
||||
|
|
|
@ -11,7 +11,7 @@ base:
|
|||
css/components/exposed-filters.css: { weight: -10 }
|
||||
css/components/field.css: { weight: -10 }
|
||||
css/components/form.css: { weight: -10 }
|
||||
css/components/icons.css: { weight: -10 }
|
||||
css/components/icons.css: { weight: -10 }
|
||||
css/components/inline-form.css: { weight: -10 }
|
||||
css/components/item-list.css: { weight: -10 }
|
||||
css/components/link.css: { weight: -10 }
|
||||
|
@ -66,7 +66,7 @@ messages:
|
|||
version: VERSION
|
||||
css:
|
||||
component:
|
||||
css/components/messages.css: { weight: -10 }
|
||||
css/components/messages.css: { weight: -10 }
|
||||
|
||||
node:
|
||||
version: VERSION
|
||||
|
|
|
@ -10,8 +10,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.
|
||||
*
|
||||
* @see template_preprocess_page_title()
|
||||
*/
|
||||
#}
|
||||
{{ title_prefix }}
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
{{ comments }}
|
||||
|
||||
{% if comment_form %}
|
||||
<h2 class='title comment-form__title'>{{ 'Add new comment'|t }}</h2>
|
||||
<h2 class="title comment-form__title">{{ 'Add new comment'|t }}</h2>
|
||||
{{ comment_form }}
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<div{{ attributes.addClass(classes) }}>
|
||||
<div{{ title_attributes.addClass(title_classes) }}>{{ label }}</div>
|
||||
{% if multiple %}
|
||||
<div class='field__items'>
|
||||
<div class="field__items">
|
||||
{% endif %}
|
||||
{% for item in items %}
|
||||
<div{{ item.attributes.addClass('field__item') }}>{{ item.content }}</div>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* - children: Contains the child elements of the dropbutton menu.
|
||||
*
|
||||
* @see template_preprocess()
|
||||
* @see template_preprocess_dropbutton_wrapper()
|
||||
*/
|
||||
#}
|
||||
{% if children %}
|
||||
|
|
|
@ -19,11 +19,6 @@
|
|||
* Site identity:
|
||||
* - front_page: The URL of the front page. Use this instead of base_path when
|
||||
* linking to the front page. This includes the language domain or prefix.
|
||||
* - logo: The url of the logo image, as defined in theme settings.
|
||||
* - site_name: The name of the site. This is empty when displaying the site
|
||||
* name has been disabled in the theme settings.
|
||||
* - site_slogan: The slogan of the site. This is empty when displaying the site
|
||||
* slogan has been disabled in theme settings.
|
||||
*
|
||||
* Page content (in order of occurrence in the default page.html.twig):
|
||||
* - node: Fully loaded node, if there is an automatically-loaded node
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
* displaying messages of that specific type.
|
||||
* - attributes: HTML attributes for the element, including:
|
||||
* - class: HTML classes.
|
||||
*
|
||||
* @see template_preprocess_status_messages()
|
||||
*/
|
||||
#}
|
||||
{{ attach_library('classy/messages') }}
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
*
|
||||
* Each item in these variables (primary and secondary) can be individually
|
||||
* themed in menu-local-task.html.twig.
|
||||
*
|
||||
* @see template_preprocess_menu_local_tasks()
|
||||
*/
|
||||
#}
|
||||
{% if primary %}
|
||||
|
|
|
@ -26,7 +26,10 @@ function twig_extension() {
|
|||
}
|
||||
|
||||
/**
|
||||
* Implements hook_init().
|
||||
* Includes .theme file from themes.
|
||||
*
|
||||
* @param \Drupal\Core\Extension\Extension $theme
|
||||
* The theme extension object.
|
||||
*/
|
||||
function twig_init(Extension $theme) {
|
||||
$theme->load();
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
* Each item in these variables (primary and secondary) can be individually
|
||||
* themed in menu-local-task.html.twig.
|
||||
*
|
||||
* @see template_preprocess_menu_local_tasks()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
* Site identity:
|
||||
* - front_page: The URL of the front page. Use this instead of base_path when
|
||||
* linking to the front page. This includes the language domain or prefix.
|
||||
* - logo: The url of the logo image, as defined in theme settings.
|
||||
* - site_name: The name of the site. This is empty when displaying the site
|
||||
* name has been disabled in the theme settings.
|
||||
* - site_slogan: The slogan of the site. This is empty when displaying the site
|
||||
* slogan has been disabled in theme settings.
|
||||
*
|
||||
* Page content (in order of occurrence in the default page.html.twig):
|
||||
* - node: Fully loaded node, if there is an automatically-loaded node
|
||||
|
@ -41,7 +36,6 @@
|
|||
* - page.content: The main content of the current page.
|
||||
*
|
||||
* @see template_preprocess_page()
|
||||
* @see seven_preprocess_page()
|
||||
* @see html.html.twig
|
||||
*/
|
||||
#}
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
* - translation: The translation for the target language.
|
||||
*
|
||||
* @see template_preprocess()
|
||||
* @see template_preprocess_config_translation_manage_form_element()
|
||||
*/
|
||||
#}
|
||||
<div class="translation-set clearfix">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* This template will be used when a system config form specifies 'config_form'
|
||||
* as its #theme callback. Otherwise, by default, system config forms will be
|
||||
* themed by theme_form(). This does not alter the appearance of a form at all,
|
||||
* themed by form.html.twig. This does not alter the appearance of a form at all,
|
||||
* but is provided as a convenience for themers.
|
||||
*
|
||||
* Available variables:
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
*
|
||||
* Available variables:
|
||||
* - style: Either 'asc' or 'desc', indicating the sorting direction.
|
||||
*
|
||||
* @see template_preprocess_tablesort_indicator()
|
||||
*/
|
||||
#}
|
||||
{%
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
* - date: The date of the release.
|
||||
* - download_link: The URL for the downloadable file.
|
||||
* - release_link: The URL for the release notes.
|
||||
*
|
||||
* @see template_preprocess_update_version()
|
||||
*/
|
||||
#}
|
||||
<div class="{{ attributes.class }} project-update__version"{{ attributes|without('class') }}>
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
* Available variables:
|
||||
* - attributes: HTML attributes to apply to the container element.
|
||||
* - children: The remaining elements such as dropbuttons and tabs.
|
||||
*
|
||||
* @see template_preprocess_views_ui_container()
|
||||
*/
|
||||
#}
|
||||
<div{{ attributes }}>{{ children }}</div>
|
||||
|
|
|
@ -10,8 +10,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.
|
||||
*
|
||||
* @see template_preprocess_page_title()
|
||||
*/
|
||||
#}
|
||||
{{ title_prefix }}
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* - children: Contains the child elements of the dropbutton menu.
|
||||
*
|
||||
* @see template_preprocess()
|
||||
* @see template_preprocess_dropbutton_wrapper()
|
||||
*/
|
||||
#}
|
||||
{% if children %}
|
||||
|
|
|
@ -19,11 +19,6 @@
|
|||
* Site identity:
|
||||
* - front_page: The URL of the front page. Use this instead of base_path when
|
||||
* linking to the front page. This includes the language domain or prefix.
|
||||
* - logo: The url of the logo image, as defined in theme settings.
|
||||
* - site_name: The name of the site. This is empty when displaying the site
|
||||
* name has been disabled in the theme settings.
|
||||
* - site_slogan: The slogan of the site. This is empty when displaying the site
|
||||
* slogan has been disabled in theme settings.
|
||||
*
|
||||
* Page content (in order of occurrence in the default page.html.twig):
|
||||
* - messages: Status and error messages. Should be displayed prominently.
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
* displaying messages of that specific type.
|
||||
* - attributes: HTML attributes for the element, including:
|
||||
* - class: HTML classes.
|
||||
*
|
||||
* @see template_preprocess_status_messages()
|
||||
*/
|
||||
#}
|
||||
{% for type, messages in message_list %}
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
*
|
||||
* Each item in these variables (primary and secondary) can be individually
|
||||
* themed in menu-local-task.html.twig.
|
||||
*
|
||||
* @see template_preprocess_menu_local_tasks()
|
||||
*/
|
||||
#}
|
||||
{% if primary %}
|
||||
|
|
Reference in a new issue