16 lines
328 B
JavaScript
16 lines
328 B
JavaScript
/**
|
|
* @file
|
|
* Customization of checkbox.
|
|
*/
|
|
|
|
((Drupal) => {
|
|
/**
|
|
* Constructs a checkbox input element.
|
|
*
|
|
* @return {string}
|
|
* A string representing a DOM fragment.
|
|
*/
|
|
Drupal.theme.checkbox = () =>
|
|
'<input type="checkbox" class="form-checkbox form-boolean form-boolean--type-checkbox"/>';
|
|
})(Drupal);
|