Skip to content

Instantly share code, notes, and snippets.

@dergachev
Created February 1, 2012 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dergachev/1719637 to your computer and use it in GitHub Desktop.
Save dergachev/1719637 to your computer and use it in GitHub Desktop.
<?php
function article_theme() {
$theme_implementations = array();
$theme_implementations['node_article'] = array(
'template' => 'node-article', //node-article.tpl.php
'variables' => array(
'title' => NULL,
'body' => NULL,
),
);
return $theme_implementations;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment