public static function AccountId::getId in Optimizely 8.3
Retrieve the account id.
4 calls to AccountId::getId()
- AccountSettingsForm::buildForm in src/
Form/ AccountSettingsForm.php - Form constructor.
- AddUpdateForm::buildForm in src/
Form/ AddUpdateForm.php - Form constructor.
- AddUpdateForm::validateForm in src/
Form/ AddUpdateForm.php - Check to make sure the project code is unique except for the default entry which uses the account ID but should support an additional entry to allow for custom settings.
- ProjectListForm::buildForm in src/
Form/ ProjectListForm.php - Form constructor.
File
- src/
Util/ AccountId.php, line 26
Class
- AccountId
- For handling the Optimizely account id number.
Namespace
Drupal\optimizely\UtilCode
public static function getId() {
$config = self::getConfig();
$optimizely_id = $config
->get('optimizely_id');
return $optimizely_id;
}