Drupal 7 Behaviours


/ Published in: Other
Save to your folder(s)

Drupal 7 Behaviour wrapper


Copy this code and paste it in your HTML
  1. Drupal.behaviors.yourvariablehere = {
  2. attach: function(context, settings) {
  3.  
  4. (function ($) {
  5.  
  6. // END OF BEHAVIOUR
  7. })(jQuery);
  8.  
  9. }
  10. };

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.