summaryrefslogtreecommitdiffstatshomepage
path: root/core/misc/checkbox.js
diff options
context:
space:
mode:
authorAlex Pott <alex.a.pott@googlemail.com>2019-09-21 00:18:38 +0100
committerAlex Pott <alex.a.pott@googlemail.com>2019-09-21 00:18:38 +0100
commit21e024eacdae1e55588511ba10e445e087472ac8 (patch)
treeaa2ded9c5a7dfdc6b5ca6357a9a76560df9dd099 /core/misc/checkbox.js
parent6340ef58771faa8f99e29d1e5a4cdc86f0701727 (diff)
downloaddrupal-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.js12
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