You are here

public function OrderHasProductClassCondition::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/OrderHasProductClassCondition.php, line 109

Class

OrderHasProductClassCondition
Provides 'Order has a product with a selected product classes' condition.

Namespace

Drupal\uc_order\Plugin\Condition

Code

public function booleanOptions() {
  return [
    0 => $this
      ->t('False'),
    1 => $this
      ->t('True'),
  ];
}