public function ModerationInformationInterface::isLatestRevision in Config Entity Revisions 8.2
Determines if an entity is a latest revision.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: A revisionable content entity.
Return value
bool TRUE if the specified object is the latest revision of its entity, FALSE otherwise.
File
- src/
ModerationInformationInterface.php, line 116
Class
- ModerationInformationInterface
- Interface for moderation_information service.
Namespace
Drupal\config_entity_revisionsCode
public function isLatestRevision(ContentEntityInterface $entity);