You are here

public function Storage::getKey in Acquia Connector 8.2

Same name and namespace in other branches
  1. 8 src/Helper/Storage.php \Drupal\acquia_connector\Helper\Storage::getKey()
  2. 3.x src/Helper/Storage.php \Drupal\acquia_connector\Helper\Storage::getKey()

Returns Acquia Subscription key.

Return value

mixed Acquia Subscription key.

File

src/Helper/Storage.php, line 31

Class

Storage
Class Storage.

Namespace

Drupal\acquia_connector\Helper

Code

public function getKey() {
  return \Drupal::state()
    ->get('acquia_connector.key');
}