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
- drupal/core/modules/locale/lib/Drupal/locale/StringInterface.php, line 158
- Definition of Drupal\locale\StringInterface.
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\locale
Code
public function getValues(array $fields);