ModerationInformationInterface::hasForwardRevision

public ModerationInformationInterface::hasForwardRevision(ContentEntityInterface $entity)

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.

File

core/modules/content_moderation/src/ModerationInformationInterface.php, line 113

Class

ModerationInformationInterface
Interface for moderation_information service.

Namespace

Drupal\content_moderation

Code

public function hasForwardRevision(ContentEntityInterface $entity);
doc_Drupal
2016-10-29 09:28:35
Comments
Leave a Comment

Please login to continue.