public function GroupStatistics::__construct in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/src/GroupStatistics.php \Drupal\social_group\GroupStatistics::__construct()
- 8.8 modules/social_features/social_group/src/GroupStatistics.php \Drupal\social_group\GroupStatistics::__construct()
- 10.3.x modules/social_features/social_group/src/GroupStatistics.php \Drupal\social_group\GroupStatistics::__construct()
- 10.0.x modules/social_features/social_group/src/GroupStatistics.php \Drupal\social_group\GroupStatistics::__construct()
- 10.1.x modules/social_features/social_group/src/GroupStatistics.php \Drupal\social_group\GroupStatistics::__construct()
Constructor for SocialGroupMembersCount.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection.
File
- modules/
social_features/ social_group/ src/ GroupStatistics.php, line 28
Class
- GroupStatistics
- Class GroupStatistics.
Namespace
Drupal\social_groupCode
public function __construct(Connection $connection) {
$this->database = $connection;
}