public function ModerationInformationInterface::hasForwardRevision in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 src/ModerationInformationInterface.php \Drupal\workbench_moderation\ModerationInformationInterface::hasForwardRevision()
Determines if a forward revision exists for the specified entity.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The entity which may or may not have a forward revision.
Return value
bool TRUE if this entity has forward revisions available, FALSE otherwise.
1 method overrides ModerationInformationInterface::hasForwardRevision()
- ModerationInformation::hasForwardRevision in src/
ModerationInformation.php - Determines if a forward revision exists for the specified entity.
File
- src/
ModerationInformationInterface.php, line 195
Class
- ModerationInformationInterface
- Interface for moderation_information service.
Namespace
Drupal\workbench_moderationCode
public function hasForwardRevision(ContentEntityInterface $entity);