Implements Drupal\locale\StringStorageInterface::getLocations().
Overrides StringStorageInterface::getLocations
function getLocations(array $conditions = array()) {
$query = $this->connection
->select('locales_location', 'l', $this->options)
->fields('l');
foreach ($conditions as $field => $value) {
$query
->condition('l.' . $field, $value);
}
return $query
->execute()
->fetchAll();
}