public function EventMaxEnrollServiceInterface::getEnrollmentsNumber in Open Social 8.9
Same name and namespace in other branches
- 8.5 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
- 8.6 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
- 8.7 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
- 8.8 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
- 10.3.x modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
- 10.0.x modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
- 10.1.x modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
- 10.2.x modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
Get count of enrollments per event.
Parameters
\Drupal\node\NodeInterface $node: The node to check for.
Return value
int The enrollments count.
1 method overrides EventMaxEnrollServiceInterface::getEnrollmentsNumber()
- EventMaxEnrollService::getEnrollmentsNumber in modules/
social_features/ social_event/ modules/ social_event_max_enroll/ src/ Service/ EventMaxEnrollService.php - Get count of enrollments per event.
File
- modules/
social_features/ social_event/ modules/ social_event_max_enroll/ src/ Service/ EventMaxEnrollServiceInterface.php, line 23
Class
- EventMaxEnrollServiceInterface
- Interface EventMaxEnrollServiceInterface.
Namespace
Drupal\social_event_max_enroll\ServiceCode
public function getEnrollmentsNumber(NodeInterface $node);