You are here

function nodeorder_theme in Node Order 7

Same name and namespace in other branches
  1. 6 nodeorder.module \nodeorder_theme()

Implements hook_theme().

File

./nodeorder.module, line 85
Nodeorder module.

Code

function nodeorder_theme() {
  $path = drupal_get_path('module', 'nodeorder');
  return array(
    'node__nodeorder' => array(
      'template' => 'node--nodeorder',
      'path' => "{$path}/theme",
    ),
    'nodeorder_admin_display_form' => array(
      'render element' => 'form',
      'file' => 'includes/nodeorder.admin.inc',
    ),
  );
}