protected function StringMongoDBStorage::getIdCriteria in MongoDB 8
5 calls to StringMongoDBStorage::getIdCriteria()
- StringMongoDBStorage::checkVersion in mongodb_locale/
src/ StringStorage.php - Checks whether the string version matches a given version, fix it if not.
- StringMongoDBStorage::delete in mongodb_locale/
src/ StringStorage.php - Delete string from storage.
- StringMongoDBStorage::findTranslation in mongodb_locale/
src/ StringStorage.php - Loads a string translation object, fast query.
- StringMongoDBStorage::getFindArray in mongodb_locale/
src/ StringStorage.php - StringMongoDBStorage::save in mongodb_locale/
src/ StringStorage.php - Save string object to storage.
File
- mongodb_locale/
src/ StringStorage.php, line 220
Class
Namespace
Drupal\mongodb_localeCode
protected function getIdCriteria($id) {
return array(
'_id' => new \MongoId($id),
);
}