You are here

public function AuditFilesNotOnServer::getCancelUrl in Audit Files 4.x

Same name and namespace in other branches
  1. 8.3 src/Form/AuditFilesNotOnServer.php \Drupal\auditfiles\Form\AuditFilesNotOnServer::getCancelUrl()
  2. 8 src/Form/AuditFilesNotOnServer.php \Drupal\auditfiles\Form\AuditFilesNotOnServer::getCancelUrl()
  3. 8.2 src/Form/AuditFilesNotOnServer.php \Drupal\auditfiles\Form\AuditFilesNotOnServer::getCancelUrl()

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/AuditFilesNotOnServer.php, line 121

Class

AuditFilesNotOnServer
Form for File not on server functionality.

Namespace

Drupal\auditfiles\Form

Code

public function getCancelUrl() {
  return new Url('auditfiles.audit_files_notonserver');
}