You are here

public function RenewRole::booleanOptions in Ubercart 8.4

Returns a TRUE/FALSE option set for boolean types.

Return value

array A TRUE/FALSE options array.

File

uc_role/src/Plugin/RulesAction/RenewRole.php, line 87

Class

RenewRole
Provides a 'Renew role' action.

Namespace

Drupal\uc_role\Plugin\RulesAction

Code

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