projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
drupal
/
console
/
templates
/
module
/
js
/
commands.php.twig
diff --git a/vendor/drupal/console/templates/module/js/commands.php.twig
b/vendor/drupal/console/templates/module/js/commands.php.twig
new file mode 100644
(file)
index 0000000..
1c37459
--- /dev/null
+++ b/
vendor/drupal/console/templates/module/js/commands.php.twig
@@ -0,0
+1,5
@@
+(function ($, Drupal) {
+Drupal.AjaxCommands.prototype.{{ method }} = function (ajax, response, status) {
+ console.log(response.message);
+}
+})(jQuery, Drupal);
\ No newline at end of file