function ViewEditOptions::getPossibleOptions
Overrides OptionsProviderInterface::getPossibleOptions
File
-
src/
TypedData/ Options/ ViewEditOptions.php, line 15
Class
- ViewEditOptions
- Options provider for the types of field access to check for.
Namespace
Drupal\rules\TypedData\OptionsCode
public function getPossibleOptions(AccountInterface $account = NULL) {
return [
'view' => $this->t('View'),
'edit' => $this->t('Edit'),
];
}