You are here

public function ModerationInformationInterface::hasForwardRevision in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 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 196

Class

ModerationInformationInterface
Interface for moderation_information service.

Namespace

Drupal\workbench_moderation

Code

public function hasForwardRevision(ContentEntityInterface $entity);