public function Storage::setKey in Acquia Connector 3.x
Same name and namespace in other branches
- 8.2 src/Helper/Storage.php \Drupal\acquia_connector\Helper\Storage::setKey()
- 8 src/Helper/Storage.php \Drupal\acquia_connector\Helper\Storage::setKey()
Updates Acquia Subscription key.
Parameters
string $value: Acquia Subscription key.
File
- src/
Helper/ Storage.php, line 51
Class
- Storage
- Class Storage.
Namespace
Drupal\acquia_connector\HelperCode
public function setKey($value) {
\Drupal::state()
->set('acquia_connector.key', $value);
}