You are here

private static function AccountId::getConfig in Optimizely 8.0

Same name and namespace in other branches
  1. 8 src/AccountId.php \Drupal\optimizely\AccountId::getConfig()
3 calls to AccountId::getConfig()
AccountId::deleteId in src/AccountId.php
AccountId::getId in src/AccountId.php
AccountId::setId in src/AccountId.php

File

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

Class

AccountId

Namespace

Drupal\optimizely

Code

private static function getConfig() {
  if (!self::$config) {
    self::$config = \Drupal::configFactory()
      ->getEditable('optimizely.settings');
  }
  return self::$config;
}