interface SocialEventEnrollServiceInterface 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
- 8.5 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
- 8.6 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
- 8.8 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
- 10.3.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
- 10.0.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
- 10.1.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
- 10.2.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
Interface SocialEventEnrollServiceInterface.
@package Drupal\social_event\Service
Hierarchy
- interface \Drupal\social_event\Service\SocialEventEnrollServiceInterface
Expanded class hierarchy of SocialEventEnrollServiceInterface
All classes that implement SocialEventEnrollServiceInterface
1 file declares its use of SocialEventEnrollServiceInterface
- EventMaxEnrollService.php in modules/
social_features/ social_event/ modules/ social_event_max_enroll/ src/ Service/ EventMaxEnrollService.php
File
- modules/
social_features/ social_event/ src/ Service/ SocialEventEnrollServiceInterface.php, line 12
Namespace
Drupal\social_event\ServiceView source
interface SocialEventEnrollServiceInterface {
/**
* Check if enrollment is allowed for given event.
*
* @param \Drupal\node\NodeInterface $node
* A node.
*
* @return bool
* TRUE if enrollment is allowed.
*/
public function isEnabled(NodeInterface $node);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SocialEventEnrollServiceInterface:: |
public | function | Check if enrollment is allowed for given event. | 1 |