Chris@0: /** Chris@0: * DO NOT EDIT THIS FILE. Chris@0: * See the following change record for more information, Chris@0: * https://www.drupal.org/node/2815083 Chris@0: * @preserve Chris@0: **/ Chris@0: Chris@0: (function ($, Drupal) { Chris@0: Drupal.behaviors.pathDetailsSummaries = { Chris@0: attach: function attach(context) { Chris@0: $(context).find('.path-form').drupalSetSummary(function (context) { Chris@0: var path = $('.js-form-item-path-0-alias input').val(); Chris@0: Chris@0: return path ? Drupal.t('Alias: @alias', { '@alias': path }) : Drupal.t('No alias'); Chris@0: }); Chris@0: } Chris@0: }; Chris@0: })(jQuery, Drupal);