class SocialPrivateMessageServiceProvider in Open Social 8.9
Same name and namespace in other branches
- 8.2 modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 8.3 modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 8.4 modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 8.5 modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 8.6 modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 8.7 modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 8.8 modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 10.3.x modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 10.0.x modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 10.1.x modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
- 10.2.x modules/social_features/social_private_message/src/SocialPrivateMessageServiceProvider.php \Drupal\social_private_message\SocialPrivateMessageServiceProvider
Class SocialPrivateMessageServiceProvider.
@package Drupal\social_private_message
Hierarchy
- class \Drupal\Core\DependencyInjection\ServiceProviderBase implements ServiceModifierInterface, ServiceProviderInterface
- class \Drupal\social_private_message\SocialPrivateMessageServiceProvider
Expanded class hierarchy of SocialPrivateMessageServiceProvider
File
- modules/
social_features/ social_private_message/ src/ SocialPrivateMessageServiceProvider.php, line 13
Namespace
Drupal\social_private_messageView source
class SocialPrivateMessageServiceProvider extends ServiceProviderBase {
/**
* {@inheritdoc}
*/
public function alter(ContainerBuilder $container) {
$definition = $container
->getDefinition('private_message.mailer');
$definition
->setClass('Drupal\\social_private_message\\Service\\PrivateMessageMailer');
$definition = $container
->getDefinition('private_message.mapper');
$definition
->setClass('Drupal\\social_private_message\\Mapper\\PrivateMessageMapper');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServiceProviderBase:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |
1 |
SocialPrivateMessageServiceProvider:: |
public | function |
Modifies existing service definitions. Overrides ServiceProviderBase:: |