function OptionsAllowedValues::getCid
Same name and namespace in other branches
- main core/modules/options/src/OptionsAllowedValues.php \Drupal\options\OptionsAllowedValues::getCid()
Returns the CID used to cache the options allowed values.
Parameters
array $path: The parts identifying the allowed values: the target entity type ID, the field name and whether an entity is available.
Return value
string The cache ID.
1 call to OptionsAllowedValues::getCid()
- OptionsAllowedValues::getAllowedValues in core/
modules/ options/ src/ OptionsAllowedValues.php
File
-
core/
modules/ options/ src/ OptionsAllowedValues.php, line 74
Class
- OptionsAllowedValues
- Provides allowed values for a list field.
Namespace
Drupal\optionsCode
protected function getCid(array $path) : string {
return 'options.allowed_values:' . implode(':', $path);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.