You are here

function menu_link_weight_theme in Menu Link Weight 7

Implements hook_theme().

We need run our forms through custom theme functions in order to build the table structure which is required by tabledrag.js.

File

./menu_link_weight.module, line 462
Replaces the menu link weight dropdown with a tabledrag widget.

Code

function menu_link_weight_theme() {
  return array(
    // Theme function for the 'simple' example.
    'menu_link_weight_reorder_element' => array(
      'render element' => 'element',
      'file' => 'menu_link_weight.module',
    ),
  );
}