public function NotificationInformationInterface::getLatestRevision in Content Moderation Notifications 8.2
Same name and namespace in other branches
- 8.3 src/NotificationInformationInterface.php \Drupal\content_moderation_notifications\NotificationInformationInterface::getLatestRevision()
Loads the latest revision of a specific entity.
Parameters
string $entity_type_id: The entity type ID.
int $entity_id: The entity ID.
Return value
\Drupal\Core\Entity\ContentEntityInterface|null The latest entity revision or NULL, if the entity type / entity doesn't exist.
1 method overrides NotificationInformationInterface::getLatestRevision()
- NotificationInformation::getLatestRevision in src/
NotificationInformation.php - Loads the latest revision of a specific entity.
File
- src/
NotificationInformationInterface.php, line 70
Class
- NotificationInformationInterface
- Interface for notification_information service.
Namespace
Drupal\content_moderation_notificationsCode
public function getLatestRevision($entity_type_id, $entity_id);