Loads string location information.
Parameters
array $conditions:
(optional) Array with conditions to filter the locations that may be any
of the follwing elements:
- 'sid', The tring identifier.
- 'type', The location type.
- 'name', The location name.
Return value
array
Array of location objects matching the conditions.
See also
Drupal\locale\StringStorageInterface::getStrings()
File
- drupal/core/modules/locale/lib/Drupal/locale/StringStorageInterface.php, line 69
- Definition of Drupal\locale\StringStorageInterface.
Class
- StringStorageInterface
- Defines the locale string storage interface.
Namespace
Drupal\locale
Code
public function getLocations(array $conditions = array());