You are here

public function StringInterface::getValues in Drupal 9

Same name and namespace in other branches
  1. 8 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.

1 method overrides StringInterface::getValues()
StringBase::getValues in core/modules/locale/src/StringBase.php
Gets field values that are set for given field names.

File

core/modules/locale/src/StringInterface.php, line 148

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function getValues(array $fields);