public function SmsGateway::autoCreateIncomingRoute in SMS Framework 8
Same name and namespace in other branches
- 2.x 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 296
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;
}