Problem/Motivation
After #2509566: Convert sms_send() into a service the sms_provider service was created and SMS sending functionality transferred to the class. An improvement would be to make that service swappable so that other modules can implement improved versions of the SmsProviderInterface.
Proposed resolution
Create a new sms_provider service that will be used in sms_send() and will be part of the API. sms_provider is an alias for sms_provider.default
Remaining tasks
Patch
Reviews
Commit
User interface changes
None
API changes
API addition: sms_provider service aliasing sms_provider.default which can be overridden in the services.yml file with another SmsProviderInterface
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | make_sms_provider-2606280-2.patch | 1.97 KB | almaudoh |
Comments
Comment #2
almaudoh commentedComment #4
almaudoh commentedCommitted / pushed to 8.x-1.x