You are here

public function BaseTmgmtActionApproveForm::getCancelUrl in TMGMT Extension Suite 8.2

Same name and namespace in other branches
  1. 8.3 src/Form/BaseTmgmtActionApproveForm.php \Drupal\tmgmt_extension_suit\Form\BaseTmgmtActionApproveForm::getCancelUrl()
  2. 8 src/Form/BaseTmgmtActionApproveForm.php \Drupal\tmgmt_extension_suit\Form\BaseTmgmtActionApproveForm::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/BaseTmgmtActionApproveForm.php, line 113

Class

BaseTmgmtActionApproveForm
Provides a confirmation form for sending multiple content entities.

Namespace

Drupal\tmgmt_extension_suit\Form

Code

public function getCancelUrl() {
  return new Url('system.admin_content');
}