I want to print variables of a particular content type, but I have not found any way. Here is my code.
function mytheme_preprocess_node_mytype(&$vars) {
echo '<pre>';print_r($vars); echo '</pre>';
}
This function is in template.php. Is there a problem with my code?
