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