You are here

interface SocialEventEnrollServiceInterface 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
  2. 8.5 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
  3. 8.6 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
  4. 8.8 modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
  5. 10.3.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
  6. 10.0.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
  7. 10.1.x modules/social_features/social_event/src/Service/SocialEventEnrollServiceInterface.php \Drupal\social_event\Service\SocialEventEnrollServiceInterface
  8. 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

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\Service
View 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

Namesort descending Modifiers Type Description Overrides
SocialEventEnrollServiceInterface::isEnabled public function Check if enrollment is allowed for given event. 1