public function ExchangerProviderRemoteBase::getMethod in Commerce Exchanger 8
Method which supports remote provider.
Return value
string Either GET or POST.
Overrides ExchangerProviderRemoteInterface::getMethod
1 call to ExchangerProviderRemoteBase::getMethod()
- ExchangerProviderRemoteBase::apiClient in src/
Plugin/ Commerce/ ExchangerProvider/ ExchangerProviderRemoteBase.php - Generic wrapper around Drupal http client.
File
- src/
Plugin/ Commerce/ ExchangerProvider/ ExchangerProviderRemoteBase.php, line 16
Class
- ExchangerProviderRemoteBase
- Base class for Commerce exchanger provider plugins.
Namespace
Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProviderCode
public function getMethod() {
return $this->pluginDefinition['method'] ?? 'GET';
}