public function PaymentBalanceCondition::booleanOptions in Ubercart 8.4
Returns a TRUE/FALSE option set for boolean types.
Return value
array A TRUE/FALSE options array.
File
- payment/
uc_payment/ src/ Plugin/ Condition/ PaymentBalanceCondition.php, line 64
Class
- PaymentBalanceCondition
- Provides 'Order payment balance' condition.
Namespace
Drupal\uc_payment\Plugin\ConditionCode
public function booleanOptions() {
return [
0 => $this
->t('No'),
1 => $this
->t('Yes'),
];
}