public function PreviewLinkInterface::setEntities in Preview Link 2.0.x
Same name and namespace in other branches
- 2.x src/Entity/PreviewLinkInterface.php \Drupal\preview_link\Entity\PreviewLinkInterface::setEntities()
Set the entity this preview link unlocks.
Return value
\Drupal\preview_link\Entity\PreviewLinkInterface Returns the preview link for chaining.
1 method overrides PreviewLinkInterface::setEntities()
- PreviewLink::setEntities in src/
Entity/ PreviewLink.php - Set the entity this preview link unlocks.
File
- src/
Entity/ PreviewLinkInterface.php, line 81
Class
- PreviewLinkInterface
- Interface for the preview link entity.
Namespace
Drupal\preview_link\EntityCode
public function setEntities(array $entities);