You are here

public function Twilio::defaultConfiguration in Twilio SMS Integration 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides SmsGatewayPluginBase::defaultConfiguration

File

src/Plugin/SmsGateway/Twilio.php, line 38

Class

Twilio
Plugin annotation @SmsGateway( id = "twilio", label = @Translation("Twilio"), outgoing_message_max_recipients = 1, reports_push = TRUE, incoming = TRUE, incoming_route = TRUE )

Namespace

Drupal\sms_twilio\Plugin\SmsGateway

Code

public function defaultConfiguration() {
  return [
    'account_sid' => '',
    'auth_token' => '',
    'from' => '',
  ];
}