public function SmsGatewayPluginBase::__construct in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Plugin/SmsGatewayPluginBase.php \Drupal\sms\Plugin\SmsGatewayPluginBase::__construct()
- 2.1.x src/Plugin/SmsGatewayPluginBase.php \Drupal\sms\Plugin\SmsGatewayPluginBase::__construct()
Constructs a new SmsGateway plugin.
Parameters
array $configuration: The configuration to use and build the sms gateway.
string $plugin_id: The gateway id.
mixed $plugin_definition: The gateway plugin definition.
Overrides PluginBase::__construct
1 call to SmsGatewayPluginBase::__construct()
- LogGateway::__construct in src/
Plugin/ SmsGateway/ LogGateway.php - Constructs a LogGateway object.
1 method overrides SmsGatewayPluginBase::__construct()
- LogGateway::__construct in src/
Plugin/ SmsGateway/ LogGateway.php - Constructs a LogGateway object.
File
- src/
Plugin/ SmsGatewayPluginBase.php, line 26
Class
- SmsGatewayPluginBase
- Base class for sms gateway plugins.
Namespace
Drupal\sms\PluginCode
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this
->setConfiguration($configuration);
}