protected property PreviewLinkRerouteException::$entity in Preview Link 2.x
Same name and namespace in other branches
- 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\ExceptionCode
protected $entity;