updated core to 8.6.1 via composer

This commit is contained in:
2018-09-12 13:58:26 +02:00
parent a9a219f2ed
commit ea56b9fba3
4443 changed files with 112098 additions and 40708 deletions
+10 -8
View File
@@ -2,7 +2,7 @@
* @file
* Attaches behaviors for the Path module.
*/
(function ($, Drupal) {
(function($, Drupal) {
/**
* Behaviors for settings summaries on path edit forms.
*
@@ -13,13 +13,15 @@
*/
Drupal.behaviors.pathDetailsSummaries = {
attach(context) {
$(context).find('.path-form').drupalSetSummary((context) => {
const path = $('.js-form-item-path-0-alias input').val();
$(context)
.find('.path-form')
.drupalSetSummary(context => {
const path = $('.js-form-item-path-0-alias input').val();
return path ?
Drupal.t('Alias: @alias', { '@alias': path }) :
Drupal.t('No alias');
});
return path
? Drupal.t('Alias: @alias', { '@alias': path })
: Drupal.t('No alias');
});
},
};
}(jQuery, Drupal));
})(jQuery, Drupal);