diff options
author | Alex Pott <alex.a.pott@googlemail.com> | 2019-09-21 00:18:38 +0100 |
---|---|---|
committer | Alex Pott <alex.a.pott@googlemail.com> | 2019-09-21 00:18:38 +0100 |
commit | 21e024eacdae1e55588511ba10e445e087472ac8 (patch) | |
tree | aa2ded9c5a7dfdc6b5ca6357a9a76560df9dd099 /core/misc/checkbox.js | |
parent | 6340ef58771faa8f99e29d1e5a4cdc86f0701727 (diff) | |
download | drupal-21e024eacdae1e55588511ba10e445e087472ac8.tar.gz drupal-21e024eacdae1e55588511ba10e445e087472ac8.zip |
Issue #3024975 by quiron, huzooka, lauriii, Wim Leers, nod_: Add Drupal JavaScript theme function for checkbox
Diffstat (limited to 'core/misc/checkbox.js')
-rw-r--r-- | core/misc/checkbox.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/misc/checkbox.js b/core/misc/checkbox.js new file mode 100644 index 00000000000..c27ca30dff1 --- /dev/null +++ b/core/misc/checkbox.js @@ -0,0 +1,12 @@ +/** +* DO NOT EDIT THIS FILE. +* See the following change record for more information, +* https://www.drupal.org/node/2815083 +* @preserve +**/ + +(function (Drupal) { + Drupal.theme.checkbox = function () { + return "<input type=\"checkbox\" class=\"form-checkbox\"/>"; + }; +})(Drupal);
\ No newline at end of file |