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\RulesActionCode
public function booleanOptions() {
return [
0 => $this
->t('False'),
1 => $this
->t('True'),
];
}