You are here

protected property PreviewLinkRerouteException::$entity in Preview Link 2.x

Same name and namespace in other branches
  1. 2.0.x src/Exception/PreviewLinkRerouteException.php \Drupal\preview_link\Exception\PreviewLinkRerouteException::entity

The entity redirecting to preview link.

Type: \Drupal\Core\Entity\EntityInterface

File

src/Exception/PreviewLinkRerouteException.php, line 24

Class

PreviewLinkRerouteException
Exception thrown when an entity needs to redirect to a preview link.

Namespace

Drupal\preview_link\Exception

Code

protected $entity;