You are here

function hook_popup_onload_sort_methods in Popup On Load 8

Same name and namespace in other branches
  1. 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

popup_onload_sort_methods()

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.

popup_onload_popup_onload_sort_methods in ./popup_onload.module
Implements hook_popup_onload_sort_methods().
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'),
  );
}