You are here

public function SmsGateway::getPushReportUrl in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Entity/SmsGateway.php \Drupal\sms\Entity\SmsGateway::getPushReportUrl()
  2. 2.1.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 224

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());
}