Last active
October 12, 2015 22:28
-
-
Save jdwfly/4096800 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function custommodulename_node_view($node, $view_node, $langcode) { | |
if ($node->type == 'webform') { | |
drupal_add_js(drupal_get_path('module', 'custommodulename'). '/garlic.js'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment