function ComparisonOperatorTextOptions::getPossibleOptions
Overrides OptionsProviderInterface::getPossibleOptions
File
-
src/
TypedData/ Options/ ComparisonOperatorTextOptions.php, line 15
Class
- ComparisonOperatorTextOptions
- Options provider to return a choice of text comparison operators.
Namespace
Drupal\rules\TypedData\OptionsCode
public function getPossibleOptions(AccountInterface $account = NULL) {
return [
'contains' => 'contains',
'starts' => 'starts with',
'ends' => 'ends with',
'regex' => 'matches regex',
];
}