You are here

public function GlExchangeAdapter::getGlExchange in GlobalLink Connect for Drupal 8

Same name and namespace in other branches
  1. 8.2 src/GlExchangeAdapter.php \Drupal\globallink\GlExchangeAdapter::getGlExchange()

Get the GLExchange object.

Parameters

\PDConfig $pd_config: The PDConfig object.

Return value

\GLExchange The initiated object.

File

src/GlExchangeAdapter.php, line 107

Class

GlExchangeAdapter
Provides an interface to the provided library.

Namespace

Drupal\globallink

Code

public function getGlExchange(\PDConfig $pd_config) {
  return new \GLExchange($pd_config);
}