You are here

public static function AccountId::deleteId in Optimizely 8.0

Same name and namespace in other branches
  1. 8 src/AccountId.php \Drupal\optimizely\AccountId::deleteId()

File

src/AccountId.php, line 36
Contains \Drupal\optimizely\AccountId

Class

AccountId

Namespace

Drupal\optimizely

Code

public static function deleteId() {

  // N.B. This deletes any and all settings
  // stored in "optimizely.settings".
  $config = self::getConfig();
  $config
    ->delete();
  return TRUE;
}