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,21 @@
(function ($) {
'use strict';
Drupal.behaviors.pathFieldsetSummaries = {
attach: function (context) {
$(context).find('.path-form').drupalSetSummary(function (context) {
var path = $('.js-form-item-path-0-alias input', context).val();
var automatic = $('.js-form-item-path-0-pathauto input', context).prop('checked');
if (automatic) {
return Drupal.t('Automatic alias');
}
else if (path) {
return Drupal.t('Alias: @alias', {'@alias': path});
}
else {
return Drupal.t('No alias');
}
});
}
};
})(jQuery);