You are here

public function SocialEventEnrollServiceInterface::isEnabled in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
  2. 8.5 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
  3. 8.6 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
  4. 8.8 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
  5. 10.3.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
  6. 10.0.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
  7. 10.1.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
  8. 10.2.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()

Check if enrollment is allowed for given event.

Parameters

\Drupal\node\NodeInterface $node: A node.

Return value

bool TRUE if enrollment is allowed.

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

File

modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php, line 23

Class

SocialEventEnrollServiceInterface
Interface SocialEventEnrollServiceInterface.

Namespace

Drupal\social_event\Service

Code

public function isEnabled(NodeInterface $node);