Namespace
Drupal\rules\TypedData\Options
File
-
src/TypedData/Options/AndOrOptions.php
View source
<?php
namespace Drupal\rules\TypedData\Options;
use Drupal\Core\Session\AccountInterface;
class AndOrOptions extends OptionsProviderBase {
public function getPossibleOptions(AccountInterface $account = NULL) {
return [
'AND' => $this->t('All selected (and)'),
'OR' => $this->t('Any selected (or)'),
];
}
}
Classes
| Title |
Deprecated |
Summary |
| AndOrOptions |
|
Options provider to return a choice of 'AND' or 'OR'. |