function MessageTypeOptions::getPossibleOptions

Overrides OptionsProviderInterface::getPossibleOptions

File

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

Class

MessageTypeOptions
Options provider to return the System Message types.

Namespace

Drupal\rules\TypedData\Options

Code

public function getPossibleOptions(AccountInterface $account = NULL) {
    return [
        'info' => $this->t('Info'),
        'status' => $this->t('Status'),
        'warning' => $this->t('Warning'),
        'error' => $this->t('Error'),
    ];
}