public function KeyValueContentEntityStorage::getLatestTranslationAffectedRevisionId in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php \Drupal\Core\Entity\KeyValueStore\KeyValueContentEntityStorage::getLatestTranslationAffectedRevisionId()
- 9 core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php \Drupal\Core\Entity\KeyValueStore\KeyValueContentEntityStorage::getLatestTranslationAffectedRevisionId()
Returns the latest revision affecting the specified translation.
Parameters
int|string $entity_id: The entity identifier.
string $langcode: The language code of the translation.
Return value
int|string|null A revision ID or NULL if no revision affecting the specified translation could be found.
Overrides TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId
File
- core/
lib/ Drupal/ Core/ Entity/ KeyValueStore/ KeyValueContentEntityStorage.php, line 59
Class
- KeyValueContentEntityStorage
- Provides a key value backend for content entities.
Namespace
Drupal\Core\Entity\KeyValueStoreCode
public function getLatestTranslationAffectedRevisionId($entity_id, $langcode) {
return NULL;
}