Example: Tabledrag
Same name in other branches
- 3.x modules/tabledrag_example/tabledrag_example.module \tabledrag_example
- 8.x-1.x tabledrag_example/tabledrag_example.module \tabledrag_example
- 4.0.x modules/tabledrag_example/tabledrag_example.module \tabledrag_example
Example of draggable table rows.
Parent topics
File
-
tabledrag_example/
tabledrag_example.module, line 7
Functions
Title Sort descending | File name | Summary |
---|---|---|
tabledrag_example_get_tree | tabledrag_example/ |
Recursively adds to the $itemtree array, ordered by parent/child/weight. |
tabledrag_example_help | tabledrag_example/ |
Implements hook_help(). |
tabledrag_example_install | tabledrag_example/ |
Implements hook_install(). |
tabledrag_example_menu | tabledrag_example/ |
Implements hook_menu(). |
tabledrag_example_parent_form | tabledrag_example/ |
Build the parent-child example form. |
tabledrag_example_parent_form_submit | tabledrag_example/ |
Submit callback for the tabledrag_example_parent_form form. |
tabledrag_example_parent_get_data | tabledrag_example/ |
Retrives the tree structure from database, and sorts by parent/child/weight. |
tabledrag_example_schema | tabledrag_example/ |
Implements hook_schema(). |
tabledrag_example_simple_form | tabledrag_example/ |
Build the tabledrag_simple_example_form form. |
tabledrag_example_simple_form_submit | tabledrag_example/ |
Submit callback for the tabledrag_example_simple_form form. |
tabledrag_example_theme | tabledrag_example/ |
Implements hook_theme(). |
tabledrag_example_uninstall | tabledrag_example/ |
Implements hook_uninstall(). |
theme_tabledrag_example_parent_form | tabledrag_example/ |
Theme callback for the tabledrag_example_parent_form form. |
theme_tabledrag_example_simple_form | tabledrag_example/ |
Theme callback for the tabledrag_example_simple_form form. |
Classes
Title Sort descending | File name | Summary |
---|---|---|
TabledragExampleTestCase | tabledrag_example/ |
Default test case for the tabledrag_example module. |