Move all files to 2017/

This commit is contained in:
Oliver Davies 2025-09-29 22:25:17 +01:00
parent ac7370f67f
commit 2875863330
15717 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,27 @@
/**
* @file
* Attaches behaviors for the Path module.
*/
(function($, Drupal) {
/**
* Behaviors for settings summaries on path edit forms.
*
* @type {Drupal~behavior}
*
* @prop {Drupal~behaviorAttach} attach
* Attaches summary behavior on path edit forms.
*/
Drupal.behaviors.pathDetailsSummaries = {
attach(context) {
$(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');
});
},
};
})(jQuery, Drupal);