Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
21
vendor/chi-teck/drupal-code-generator/templates/d8/javascript.twig
vendored
Normal file
21
vendor/chi-teck/drupal-code-generator/templates/d8/javascript.twig
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* @file
|
||||
* {{ name }} behaviors.
|
||||
*/
|
||||
|
||||
(function ($, Drupal) {
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Behavior description.
|
||||
*/
|
||||
Drupal.behaviors.{{ machine_name|camelize(false) }} = {
|
||||
attach: function (context, settings) {
|
||||
|
||||
console.log('It works!');
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
} (jQuery, Drupal));
|
Reference in a new issue