public function PreviewLinkInterface::setToken in Preview Link 8
Same name and namespace in other branches
- 2.x src/Entity/PreviewLinkInterface.php \Drupal\preview_link\Entity\PreviewLinkInterface::setToken()
- 2.0.x src/Entity/PreviewLinkInterface.php \Drupal\preview_link\Entity\PreviewLinkInterface::setToken()
Set the new token.
Parameters
string $token: The new token.
Return value
\Drupal\preview_link\Entity\PreviewLinkInterface Returns the preview link for chaining.
1 method overrides PreviewLinkInterface::setToken()
- PreviewLink::setToken in src/
Entity/ PreviewLink.php - Set the new token.
File
- src/
Entity/ PreviewLinkInterface.php, line 37
Class
- PreviewLinkInterface
- Interface for the preview link entity.
Namespace
Drupal\preview_link\EntityCode
public function setToken($token);