public function MessageDeleteForm::getCancelUrl in Message UI 8
If the delete command is canceled, return to the message list.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ MessageDeleteForm.php, line 28
Class
- MessageDeleteForm
- Provides a form for deleting a message_ui entity.
Namespace
Drupal\message_ui\FormCode
public function getCancelUrl() {
return new Url('message.messages');
}