1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/** * @file * Defines checkbox theme functions. */ (Drupal => { /** * Theme function for a checkbox. * * @return {string} * The HTML markup for the checkbox. */ Drupal.theme.checkbox = () => `<input type="checkbox" class="form-checkbox"/>`; })(Drupal);