btcStoreSource = $btcStoreSource; } public function getCommentText($elementValue) { $btcStores = $this->btcStoreSource->toOptionArray(); if (count($btcStores) === 1) { $r = '' . __('Make a BTCPay Server Store first.') . ''; return $r; } $r = __('Select the BTCPay Server Store to use'); return $r; } }