This example demonstrates the usage of draggable table rows.
Parent topics
File
- modules/
examples/ tabledrag_example/ tabledrag_example.module, line 7 - Hook implementations for the Tabledrag Example module.
Functions
Name | Location | Description |
---|---|---|
tabledrag_example_get_tree |
modules/ |
Recursively adds to the $itemtree array, ordered by parent/child/weight. |
tabledrag_example_install |
modules/ |
Implements hook_install(). |
tabledrag_example_menu |
modules/ |
Implements hook_menu(). |
tabledrag_example_parent_form |
modules/ |
Build the parent-child example form. |
tabledrag_example_parent_form_submit |
modules/ |
Submit callback for the tabledrag_example_parent_form form. |
tabledrag_example_parent_get_data |
modules/ |
Retrieves the tree structure from database, and sorts by parent/child/weight. |
tabledrag_example_schema |
modules/ |
Implements hook_schema(). |
tabledrag_example_simple_form |
modules/ |
Build the tabledrag_simple_example_form form. |
tabledrag_example_simple_form_submit |
modules/ |
Submit callback for the tabledrag_example_simple_form form. |
tabledrag_example_theme |
modules/ |
Implements hook_theme(). |
theme_tabledrag_example_parent_form |
modules/ |
Theme callback for the tabledrag_example_parent_form form. |
theme_tabledrag_example_simple_form |
modules/ |
Theme callback for the tabledrag_example_simple_form form. |
Classes
Name | Location | Description |
---|---|---|
TabledragExampleTestCase |
modules/ |
Default test case for the tabledrag_example module. |