public function SmsGateway::supportsReportsPull in SMS Framework 2.x
Same name and namespace in other branches
- 8 src/Entity/SmsGateway.php \Drupal\sms\Entity\SmsGateway::supportsReportsPull()
- 2.1.x src/Entity/SmsGateway.php \Drupal\sms\Entity\SmsGateway::supportsReportsPull()
Gets whether this gateway can pull reports.
Return value
bool Whether this gateway can pull reports.
Overrides SmsGatewayInterface::supportsReportsPull
See also
\Drupal\sms\Annotation\SmsGateway::reports_pull
File
- src/
Entity/ SmsGateway.php, line 327
Class
- SmsGateway
- Defines storage for an SMS Gateway instance.
Namespace
Drupal\sms\EntityCode
public function supportsReportsPull() {
$definition = $this
->getPlugin()
->getPluginDefinition();
return isset($definition['reports_pull']) ? (bool) $definition['reports_pull'] : FALSE;
}