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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pavlo.dovhan created an issue. See original summary.

init90’s picture

init90’s picture

FileSize
473 bytes

In the first message attached an incorrect patch, the correct patch here.

init90’s picture

Assigned: init90 » Unassigned
Priority: Major » Minor
Status: Active » Needs review

  • AWD Studio committed 20b0033 on 8.x-1.x authored by init90
    Issue #3005478 by init90: Update example of programmatically message...

  • AWD Studio committed ba6d890 on 7.x-1.x authored by init90
    Issue #3005478 by init90: Update example of programmatically message...
AWD Studio’s picture

Status: Needs review » Fixed

Done. Check it out in 7.x-1.3, 8.x-1.0-beta5 and *-dev releases.

@init90, thanks for your contribution!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.