public static function MostPopularService::numServices in Drupal Most Popular 7
Same name and namespace in other branches
- 6 classes/services.php \MostPopularService::numServices()
Returns the number of configured services, both enabled and disabled.
File
- classes/
services.php, line 260 - Defines a wrapper for the mostpopular_services table.
Class
- MostPopularService
- @file Defines a wrapper for the mostpopular_services table.
Code
public static function numServices() {
self::fetchAvailable();
return count(self::$enabledList) + count(self::$disabledList);
}