Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the example of programmatically sending from 'readme.md' specified the invalid namespace - "use Drupal\smsc\Smsc".
The correct namespace:
use Drupal\smsc\Smsc\DrupalSmsc;
Also, need to correct the example on the module page.
Comment | File | Size | Author |
---|---|---|---|
#3 | 3005478-updated_programmatically_sending_example.patch | 473 bytes | init90 |
Comments
Comment #2
init90Comment #3
init90In the first message attached an incorrect patch, the correct patch here.
Comment #4
init90Comment #7
AWD Studio CreditAttribution: AWD Studio as a volunteer and at Drupal Ukraine Community for Drupal Ukraine Community commentedDone. Check it out in 7.x-1.3, 8.x-1.0-beta5 and *-dev releases.
@init90, thanks for your contribution!