You are here

public static function AccountId::deleteId in Optimizely 8.3

Delete the account id.

Currently, only the account id is stored in the settings, so we just delete everything stored in "optimizely.settings".

File

src/Util/AccountId.php, line 50

Class

AccountId
For handling the Optimizely account id number.

Namespace

Drupal\optimizely\Util

Code

public static function deleteId() {
  $config = self::getConfig();
  $config
    ->delete();
  return TRUE;
}