public function Storage::setKey in Acquia Connector 8
Same name and namespace in other branches
- 8.2 src/Helper/Storage.php \Drupal\acquia_connector\Helper\Storage::setKey()
- 3.x 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);
}