public function SocialEventEnrollServiceInterface::isEnabled in Open Social 8.7
Same name and namespace in other branches
- 8.9 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
- 8.5 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
- 8.6 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
- 8.8 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
- 10.3.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
- 10.0.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
- 10.1.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface::isEnabled()
- 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\ServiceCode
public function isEnabled(NodeInterface $node);