public static function MostPopularService::fetchSorted in Drupal Most Popular 7
Same name and namespace in other branches
- 6 classes/services.php \MostPopularService::fetchSorted()
Fetches all of the configured services. The enabled services will appear first, sorted by weight, followed by the disabled services sorted by module.
1 call to MostPopularService::fetchSorted()
- MostPopularService::reset in classes/
services.php - Resets the titles for each of the services to the defaults.
File
- classes/
services.php, line 252 - Defines a wrapper for the mostpopular_services table.
Class
- MostPopularService
- @file Defines a wrapper for the mostpopular_services table.
Code
public static function fetchSorted() {
self::fetchAvailable();
return array_merge(self::$enabledList, self::$disabledList);
}