You are here

function node_add_order_theme_registry_alter in Util 7

Same name and namespace in other branches
  1. 6.3 contribs/node_add_order/node_add_order.module \node_add_order_theme_registry_alter()

Implements hook_theme_registry_alter().

File

contribs/node_add_order/node_add_order.module, line 36
Changes the order of content types on the node/add page.

Code

function node_add_order_theme_registry_alter(&$theme_registry) {
  $path = drupal_get_path('module', 'node_add_order');
  $theme_registry['node_add_list']['theme path'] = $path;
  $theme_registry['node_add_list']['function'] = 'theme_node_add_order';
  $theme_registry['node_add_list']['type'] = 'module';
}