public function StringInterface::getValues in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::getValues()
- 9 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::getValues()
Gets field values that are set for given field names.
Parameters
array $fields: Array of field names.
Return value
array Array of field values indexed by field name.
File
- core/
modules/ locale/ src/ StringInterface.php, line 148
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\localeCode
public function getValues(array $fields);