function RoundingOptions::getPossibleOptions

Overrides OptionsProviderInterface::getPossibleOptions

File

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

Class

RoundingOptions
Options provider for the types of field access to check for.

Namespace

Drupal\rules\TypedData\Options

Code

public function getPossibleOptions(AccountInterface $account = NULL) {
    return [
        '' => $this->t('None'),
        'up' => $this->t('Up (ceiling)'),
        'down' => $this->t('Down (floor)'),
        'round' => $this->t('Round (nearest)'),
    ];
}