You are here

public function SalesforceMappingEnableForm::getCancelUrl in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping_ui/src/Form/SalesforceMappingEnableForm.php \Drupal\salesforce_mapping_ui\Form\SalesforceMappingEnableForm::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

modules/salesforce_mapping_ui/src/Form/SalesforceMappingEnableForm.php, line 31

Class

SalesforceMappingEnableForm
Salesforce Mapping Disable Form .

Namespace

Drupal\salesforce_mapping_ui\Form

Code

public function getCancelUrl() {
  return new Url('entity.salesforce_mapping.list');
}