include

add JS in views hack

  1.  // this returns an array that can be used by the #attached attribute in the style 0 => script1.js, 1 => script2.js
  2. $includes = galleria_includes('classic');
  3.  
  4. // add this in the appropriate templa

Update function

  1. function blah_migration_update_6000(&$sandbox) {
  2.   $ret = array();
  3.  
  4.   module_load_include('inc', 'install_profile_api', 'core/menu');
  5.  
Syndicate content