public function Storage::getKey in Acquia Connector 8
Same name and namespace in other branches
- 8.2 src/Helper/Storage.php \Drupal\acquia_connector\Helper\Storage::getKey()
- 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\HelperCode
public function getKey() {
return \Drupal::state()
->get('acquia_connector.key');
}