3 * Attaches comment behaviors to the entity form.
6 (function ($, Drupal) {
9 * @type {Drupal~behavior}
11 Drupal.behaviors.commentFieldsetSummaries = {
13 const $context = $(context);
14 $context.find('fieldset.comment-entity-settings-form').drupalSetSummary(context => Drupal.checkPlain($(context).find('.js-form-item-comment input:checked').next('label').text()));