You are here

public function StringMongoDBStorage::getLocations in MongoDB 8

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 \Drupal\locale\StringInterface objects matching the conditions.

Overrides StringStorageInterface::getLocations

See also

\Drupal\locale\StringStorageInterface::getStrings()

File

mongodb_locale/src/StringStorage.php, line 134

Class

StringMongoDBStorage

Namespace

Drupal\mongodb_locale

Code

public function getLocations(array $conditions = array()) {

  // TODO: Implement getLocations() method.
}