public function Memory::defaultConfiguration in SMS Framework 2.x
Same name and namespace in other branches
- 8 tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php \Drupal\sms_test_gateway\Plugin\SmsGateway\Memory::defaultConfiguration()
- 2.1.x tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php \Drupal\sms_test_gateway\Plugin\SmsGateway\Memory::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides SmsGatewayPluginBase::defaultConfiguration
2 methods override Memory::defaultConfiguration()
- MemoryChunked::defaultConfiguration in tests/
modules/ sms_test_gateway/ src/ Plugin/ SmsGateway/ MemoryChunked.php - Gets default configuration for this plugin.
- ScheduleAware::defaultConfiguration in tests/
modules/ sms_test_gateway/ src/ Plugin/ SmsGateway/ ScheduleAware.php - Gets default configuration for this plugin.
File
- tests/
modules/ sms_test_gateway/ src/ Plugin/ SmsGateway/ Memory.php, line 39
Class
- Memory
- Defines a gateway storing transmitted SMS in memory.
Namespace
Drupal\sms_test_gateway\Plugin\SmsGatewayCode
public function defaultConfiguration() {
return [
'widget' => '',
// Store the ID of gateway config. See static::send().
'gateway_id' => '',
];
}