public function OrderHasProductsCondition::booleanOptions in Ubercart 8.4
Returns a TRUE/FALSE option set for boolean types.
Return value
array A TRUE/FALSE options array.
File
- uc_order/
src/ Plugin/ Condition/ OrderHasProductsCondition.php, line 68
Class
- OrderHasProductsCondition
- Provides 'Order has specific product(s)' condition.
Namespace
Drupal\uc_order\Plugin\ConditionCode
public function booleanOptions() {
return [
0 => $this
->t('False'),
1 => $this
->t('True'),
];
}