public function StringStorageInterface::getLocations in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::getLocations()
- 9 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::getLocations()
Loads string location information.
Parameters
array $conditions: (optional) Array with conditions to filter the locations that may be any of the following elements:
- 'sid', The string identifier.
- 'type', The location type.
- 'name', The location name.
Return value
\Drupal\locale\StringInterface[] Array of \Drupal\locale\StringInterface objects matching the conditions.
See also
\Drupal\locale\StringStorageInterface::getStrings()
File
- core/
modules/ locale/ src/ StringStorageInterface.php, line 64
Class
- StringStorageInterface
- Defines the locale string storage interface.
Namespace
Drupal\localeCode
public function getLocations(array $conditions = []);