function module_builder_add_js in Module Builder 6
2 calls to module_builder_add_js()
- module_builder_edit_form in ./
module_builder.components.inc - The basic edit form
- module_builder_node_after_build in ./
module_builder.components.inc
File
- ./
module_builder.api.inc, line 154 - API functions for the module_builder module
Code
function module_builder_add_js($name, $a2, $a3, $a4) {
drupal_add_js(drupal_get_path('module', 'module_builder') . '/module_builder.js');
switch ($name) {
case 'copy':
drupal_add_js(array(
'moduleBuilderCopy' => array(
array(
'type' => $a2,
'from' => $a3,
'to' => $a4,
),
),
), 'setting');
}
}