Created
June 13, 2016 22:52
-
-
Save doublejosh/78dd220683d62dee5f47694dc05c7735 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 | |
// Debug the PHP Drupal code in this statement with all "errors"... | |
if (arg(1) = 'node') { | |
arg(2) = $nodeID | |
load_node($nodeID); | |
echo drupal_render(node_view($nodeID,'teaser')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment