You are here

public function WSConnectorGraphQL::getOptions in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/WSConnector/WSConnectorGraphQL.php \Drupal\wsdata\Plugin\WSConnector\WSConnectorGraphQL::getOptions()

Return available options supported by the connector.

Overrides WSConnectorSimpleHTTP::getOptions

File

src/Plugin/WSConnector/WSConnectorGraphQL.php, line 62

Class

WSConnectorGraphQL
HTTP Connector.

Namespace

Drupal\wsdata\Plugin\WSConnector

Code

public function getOptions() {
  return [
    'path' => '',
    'method' => [],
    'headers' => [],
    'query' => '',
    'operationName' => '',
    'variables' => [],
  ];
}