You are here

public function EventMaxEnrollServiceInterface::isEnabled 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::isEnabled()
  2. 8.6 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::isEnabled()
  3. 8.7 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::isEnabled()
  4. 8.8 modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php \Drupal\social_event_max_enroll\Service\EventMaxEnrollServiceInterface::isEnabled()
  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::isEnabled()
  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::isEnabled()
  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::isEnabled()
  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::isEnabled()

Check if anonymous enrollment is allowed for given event.

Parameters

\Drupal\node\NodeInterface $node: The node to check for.

Return value

bool Returns TRUE if feature is enabled, the node is an event and max enroll is configured.

1 method overrides EventMaxEnrollServiceInterface::isEnabled()
EventMaxEnrollService::isEnabled in modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollService.php
Check if anonymous enrollment is allowed for given event.

File

modules/social_features/social_event/modules/social_event_max_enroll/src/Service/EventMaxEnrollServiceInterface.php, line 46

Class

EventMaxEnrollServiceInterface
Interface EventMaxEnrollServiceInterface.

Namespace

Drupal\social_event_max_enroll\Service

Code

public function isEnabled(NodeInterface $node);