Example: Tablesort in Examples for Developers 8
Same name and namespace in other branches
- 7 tablesort_example/tablesort_example.module \tablesort_example
- 3.x modules/tablesort_example/tablesort_example.module \tablesort_example
Example of a sortable table display. Three columns are sortable (Numbers, Letters and Mixture) We are using TableSort Extender extend('Drupal\Core\Database\Query\TableSortExtender')
Parent topics
File
- tablesort_example/
tablesort_example.module, line 8 - Module file for tablesort_example.
Functions
Name | Location | Description |
---|---|---|
tablesort_example_install |
tablesort_example/ |
Implements hook_install(). |
tablesort_example_schema |
tablesort_example/ |
Implements hook_schema(). |
tablesort_example_uninstall |
tablesort_example/ |
Implements hook_uninstall(). |
Classes
Name | Location | Description |
---|---|---|
TableSortExampleTest |
tablesort_example/ |
Verify the tablesort functionality. |