function TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php \Drupal\Core\Entity\TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId()
- 10 core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php \Drupal\Core\Entity\TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId()
- 11.x core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php \Drupal\Core\Entity\TranslatableRevisionableStorageInterface::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.
2 methods override TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId()
- ContentEntityStorageBase::getLatestTranslationAffectedRevisionId in core/
lib/ Drupal/ Core/ Entity/ ContentEntityStorageBase.php - Returns the latest revision affecting the specified translation.
- KeyValueContentEntityStorage::getLatestTranslationAffectedRevisionId in core/
lib/ Drupal/ Core/ Entity/ KeyValueStore/ KeyValueContentEntityStorage.php - Returns the latest revision affecting the specified translation.
File
-
core/
lib/ Drupal/ Core/ Entity/ TranslatableRevisionableStorageInterface.php, line 44
Class
- TranslatableRevisionableStorageInterface
- A storage that supports translatable and revisionable entity types.
Namespace
Drupal\Core\EntityCode
public function getLatestTranslationAffectedRevisionId($entity_id, $langcode);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.