Опубликовано вт, 07/01/2014 - 11:10 пользователем admin
(function ($, Drupal, window, document, undefined) { Drupal.behaviors.my_custom_behavior = { attach: function(context, settings) { // Place your code here. }}; })(jQuery, Drupal, this, this.document)