You are here

public function SmsGateway::getPushReportUrl in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Entity/SmsGateway.php \Drupal\sms\Entity\SmsGateway::getPushReportUrl()
  2. 2.x src/Entity/SmsGateway.php \Drupal\sms\Entity\SmsGateway::getPushReportUrl()

Get the url where pushed delivery reports can be received.

Return value

\Drupal\Core\Url The url where pushed delivery reports can be received.

Overrides SmsGatewayInterface::getPushReportUrl

File

src/Entity/SmsGateway.php, line 237

Class

SmsGateway
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

public function getPushReportUrl() {
  return Url::fromRoute('sms.delivery_report.receive.' . $this
    ->id());
}