public function SmsGateway::supportsIncoming in SMS Framework 2.1.x
Same name and namespace in other branches
- 8 src/Entity/SmsGateway.php \Drupal\sms\Entity\SmsGateway::supportsIncoming()
- 2.x src/Entity/SmsGateway.php \Drupal\sms\Entity\SmsGateway::supportsIncoming()
Whether the gateway supports receiving messages.
Return value
bool Whether the gateway supports receiving messages.
Overrides SmsGatewayInterface::supportsIncoming
File
- src/
Entity/ SmsGateway.php, line 300
Class
- SmsGateway
- Defines storage for an SMS Gateway instance.
Namespace
Drupal\sms\EntityCode
public function supportsIncoming() {
$definition = $this
->getPlugin()
->getPluginDefinition();
return isset($definition['incoming']) ? (bool) $definition['incoming'] : FALSE;
}