public static function MostPopularService::numServices in Drupal Most Popular 6
Same name and namespace in other branches
- 7 classes/services.php \MostPopularService::numServices()
 
Returns the number of configured services, both enabled and disabled.
1 call to MostPopularService::numServices()
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);
}