class SocialGroupInviteServiceProvider in Open Social 8.9
Same name and namespace in other branches
- 10.3.x modules/social_features/social_group/modules/social_group_invite/src/SocialGroupInviteServiceProvider.php \Drupal\social_group_invite\SocialGroupInviteServiceProvider
- 10.0.x modules/social_features/social_group/modules/social_group_invite/src/SocialGroupInviteServiceProvider.php \Drupal\social_group_invite\SocialGroupInviteServiceProvider
- 10.1.x modules/social_features/social_group/modules/social_group_invite/src/SocialGroupInviteServiceProvider.php \Drupal\social_group_invite\SocialGroupInviteServiceProvider
- 10.2.x modules/social_features/social_group/modules/social_group_invite/src/SocialGroupInviteServiceProvider.php \Drupal\social_group_invite\SocialGroupInviteServiceProvider
Class SocialGroupInviteServiceProvider.
@package Drupal\social_group_invite
Hierarchy
- class \Drupal\Core\DependencyInjection\ServiceProviderBase implements ServiceModifierInterface, ServiceProviderInterface
- class \Drupal\social_group_invite\SocialGroupInviteServiceProvider
Expanded class hierarchy of SocialGroupInviteServiceProvider
File
- modules/
social_features/ social_group/ modules/ social_group_invite/ src/ SocialGroupInviteServiceProvider.php, line 13
Namespace
Drupal\social_group_inviteView source
class SocialGroupInviteServiceProvider extends ServiceProviderBase {
/**
* {@inheritdoc}
*/
public function alter(ContainerBuilder $container) {
// If ginvite is enabled, remove it's service which
// sends a drupal set message on every page.
if ($container
->hasDefinition('ginvite_event_subscriber')) {
$container
->removeDefinition('ginvite_event_subscriber');
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServiceProviderBase:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |
1 |
SocialGroupInviteServiceProvider:: |
public | function |
Modifies existing service definitions. Overrides ServiceProviderBase:: |