You are here

public function EventMaxEnrollServiceInterface::getEnrollmentsNumber in Open Social 8.9

Same name and namespace in other branches
  1. 8.5 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
  2. 8.6 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
  3. 8.7 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
  4. 8.8 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::getEnrollmentsNumber()
  5. 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()
  6. 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()
  7. 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()
  8. 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\Service

Code

public function getEnrollmentsNumber(NodeInterface $node);