3 * Javascript for the node content type editing form.
6 (function ($, Drupal) {
11 * Behaviors for setting summaries on content type form.
13 * @type {Drupal~behavior}
15 * @prop {Drupal~behaviorAttach} attach
16 * Attaches summary behaviors on content type edit forms.
18 Drupal.behaviors.linkcheckerContentTypes = {
19 attach: function (context) {
20 var $context = $(context);
21 // Provide the vertical tab summaries.
22 $context.find('#edit-linkchecker').drupalSetSummary(function (context) {
24 var $editContext = $(context);
25 $editContext.find('input:checked').next('label').each(function () {
26 vals.push(Drupal.checkPlain($(this).text()));
29 return Drupal.t('Disabled');
31 return vals.join(', ');