function StringInterface::getValues

Same name in other branches
  1. 8.9.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::getValues()
  2. 10 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::getValues()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.