public function HeartbeatStreamRevisionDeleteForm::getCancelUrl in Heartbeat 8
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ HeartbeatStreamRevisionDeleteForm.php, line 82
Class
- HeartbeatStreamRevisionDeleteForm
- Provides a form for deleting a Heartbeat stream revision.
Namespace
Drupal\heartbeat\FormCode
public function getCancelUrl() {
return new Url('entity.heartbeat_stream.version_history', array(
'heartbeat_stream' => $this->revision
->id(),
));
}