You are here

public function Memory::defaultConfiguration in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php \Drupal\sms_test_gateway\Plugin\SmsGateway\Memory::defaultConfiguration()
  2. 2.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\SmsGateway

Code

public function defaultConfiguration() {
  return [
    'widget' => '',
    // Store the ID of gateway config. See static::send().
    'gateway_id' => '',
  ];
}