public function PreviewLinkInterface::getEntities in Preview Link 2.0.x
Same name and namespace in other branches
- 2.x src/Entity/PreviewLinkInterface.php \Drupal\preview_link\Entity\PreviewLinkInterface::getEntities()
Get entities this preview link unlocks.
Ideally preview link access is determined via PreviewLinkHost service.
Return value
\Drupal\Core\Entity\EntityInterface[] Associated entities.
1 method overrides PreviewLinkInterface::getEntities()
- PreviewLink::getEntities in src/
Entity/ PreviewLink.php - Get entities this preview link unlocks.
File
- src/
Entity/ PreviewLinkInterface.php, line 73
Class
- PreviewLinkInterface
- Interface for the preview link entity.
Namespace
Drupal\preview_link\EntityCode
public function getEntities() : array;