function OptionsAllowedValues::__construct
Same name and namespace in other branches
- main core/modules/options/src/OptionsAllowedValues.php \Drupal\options\OptionsAllowedValues::__construct()
File
-
core/
modules/ options/ src/ OptionsAllowedValues.php, line 23
Class
- OptionsAllowedValues
- Provides allowed values for a list field.
Namespace
Drupal\optionsCode
public function __construct(#[Autowire(service: 'cache.memory')] protected CacheBackendInterface $cache) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.