You are here

public function SmsGatewayPluginBase::getDeliveryReports in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Plugin/SmsGatewayPluginBase.php \Drupal\sms\Plugin\SmsGatewayPluginBase::getDeliveryReports()
  2. 2.x src/Plugin/SmsGatewayPluginBase.php \Drupal\sms\Plugin\SmsGatewayPluginBase::getDeliveryReports()

Gets delivery reports from the gateway.

Parameters

string[]|null $message_ids: A list of specific message ID's to pull, or NULL to get any reports which have not been requested previously.

Return value

\Drupal\sms\Message\SmsDeliveryReportInterface[] An array of the delivery reports which have been pulled.

Overrides SmsGatewayPluginInterface::getDeliveryReports

1 method overrides SmsGatewayPluginBase::getDeliveryReports()
Memory::getDeliveryReports in tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php
Gets delivery reports from the gateway.

File

src/Plugin/SmsGatewayPluginBase.php, line 97

Class

SmsGatewayPluginBase
Base class for sms gateway plugins.

Namespace

Drupal\sms\Plugin

Code

public function getDeliveryReports(array $message_ids = NULL) {
  return [];
}