You are here

public function Storage::setIdentifier in Acquia Connector 8

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

Updates Acquia Subscription identifier.

Parameters

string $value: Acquia Subscription identifier.

File

src/Helper/Storage.php, line 41

Class

Storage
Class Storage.

Namespace

Drupal\acquia_connector\Helper

Code

public function setIdentifier($value) {
  \Drupal::state()
    ->set('acquia_connector.identifier', $value);
}