function hook_popup_onload_sort_methods in Popup On Load 8
Same name and namespace in other branches
- 7 popup_onload.api.php \hook_popup_onload_sort_methods()
Provide sort methods for popups.
Must return an array of 'callback' => 'human readable name' pairs. Each callback must return a single popup, which will be displayed.
See also
1 function implements hook_popup_onload_sort_methods()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
1 invocation of hook_popup_onload_sort_methods()
- popup_onload_sort_methods in ./
popup_onload.module - Returns an array of sort methods, declared in all enabled modules.
File
- ./
popup_onload.api.php, line 16 - Hooks provided by the Popup On Load module.
Code
function hook_popup_onload_sort_methods() {
return array(
'mymodule_callback' => t('Sort method'),
);
}