Initial Drupal 11 with DDEV setup
This commit is contained in:
9
vendor/chi-teck/drupal-code-generator/templates/_sdc/javascript.twig
vendored
Normal file
9
vendor/chi-teck/drupal-code-generator/templates/_sdc/javascript.twig
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
(function(Drupal) {
|
||||
|
||||
Drupal.behaviors.{{ component_machine_name|camelize(false) }} = {
|
||||
attach(context) {
|
||||
console.log('@todo Replace me with the real JS behavior.');
|
||||
},
|
||||
};
|
||||
|
||||
})(Drupal);
|
||||
Reference in New Issue
Block a user