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