function hook_hosting_site_site_list_filters

7.x-3.x hosting_site.api.php hook_hosting_site_site_list_filters()

Defines which filters are allowed to be used on the hosting site list.

The list of sites can be filtered via the query string, and to avoid nasty security exploits you must explicitly define what people can filter by.

Return value

array An array of possible filter strings.

See also

hosting_site_get_possible_site_list_filters()

hosting_sites()

hook_hosting_site_site_list_filters_alter()

Related topics

3 functions implement hook_hosting_site_site_list_filters()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

hosting_client_hosting_site_site_list_filters in client/hosting_client.module
Implements hook_hosting_site_site_list_filters().
hosting_package_hosting_site_site_list_filters in package/hosting_package.module
Implements hook_hosting_site_site_list_filters().
hosting_platform_hosting_site_site_list_filters in platform/hosting_platform.module
Implements hook_hosting_site_site_list_filters().

File

site/hosting_site.api.php, line 75
Hooks provided by the hosting site module.

Code

function hook_hosting_site_site_list_filters() {
  // From hosting_platform.
  return array('platform');
}