You are here

class SocialEventMaxEnrollServiceProvider 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/SocialEventMaxEnrollServiceProvider.php \Drupal\social_event_max_enroll\SocialEventMaxEnrollServiceProvider
  2. 8.6 modules/social_features/social_event/modules/social_event_max_enroll/src/SocialEventMaxEnrollServiceProvider.php \Drupal\social_event_max_enroll\SocialEventMaxEnrollServiceProvider
  3. 8.7 modules/social_features/social_event/modules/social_event_max_enroll/src/SocialEventMaxEnrollServiceProvider.php \Drupal\social_event_max_enroll\SocialEventMaxEnrollServiceProvider
  4. 8.8 modules/social_features/social_event/modules/social_event_max_enroll/src/SocialEventMaxEnrollServiceProvider.php \Drupal\social_event_max_enroll\SocialEventMaxEnrollServiceProvider
  5. 10.3.x modules/social_features/social_event/modules/social_event_max_enroll/src/SocialEventMaxEnrollServiceProvider.php \Drupal\social_event_max_enroll\SocialEventMaxEnrollServiceProvider
  6. 10.0.x modules/social_features/social_event/modules/social_event_max_enroll/src/SocialEventMaxEnrollServiceProvider.php \Drupal\social_event_max_enroll\SocialEventMaxEnrollServiceProvider
  7. 10.1.x modules/social_features/social_event/modules/social_event_max_enroll/src/SocialEventMaxEnrollServiceProvider.php \Drupal\social_event_max_enroll\SocialEventMaxEnrollServiceProvider
  8. 10.2.x modules/social_features/social_event/modules/social_event_max_enroll/src/SocialEventMaxEnrollServiceProvider.php \Drupal\social_event_max_enroll\SocialEventMaxEnrollServiceProvider

Class SocialEventMaxEnrollServiceProvider.

@package Drupal\social_event_max_enroll

Hierarchy

Expanded class hierarchy of SocialEventMaxEnrollServiceProvider

File

modules/social_features/social_event/modules/social_event_max_enroll/src/SocialEventMaxEnrollServiceProvider.php, line 14

Namespace

Drupal\social_event_max_enroll
View source
class SocialEventMaxEnrollServiceProvider extends ServiceProviderBase {

  /**
   * {@inheritdoc}
   */
  public function alter(ContainerBuilder $container) {
    if ($container
      ->hasDefinition('social_event_an_enroll.overrider')) {
      $container
        ->getDefinition('social_event_max_enroll.overrider')
        ->addArgument(new Reference('social_event_an_enroll.overrider'));
    }
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ServiceProviderBase::register public function Registers services to the container. Overrides ServiceProviderInterface::register 1
SocialEventMaxEnrollServiceProvider::alter public function Modifies existing service definitions. Overrides ServiceProviderBase::alter