function ComparisonOperatorNumericOptions::getPossibleOptions

Overrides OptionsProviderInterface::getPossibleOptions

File

src/TypedData/Options/ComparisonOperatorNumericOptions.php, line 15

Class

ComparisonOperatorNumericOptions
Options provider to return a choice of numeric comparison operators.

Namespace

Drupal\rules\TypedData\Options

Code

public function getPossibleOptions(AccountInterface $account = NULL) {
    return [
        '==' => '== (equals)',
        '<' => '< (less than)',
        '<=' => '<= (less than or equal to)',
        '>' => '> (greater than)',
        '>=' => '>= (greater than or equal to)',
    ];
}