You are here

public function SalesforceMappingEnableForm::getCancelUrl in Salesforce Suite 8.3

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/src/Form/SalesforceMappingEnableForm.php, line 29

Class

SalesforceMappingEnableForm
Salesforce Mapping Disable Form .

Namespace

Drupal\salesforce_mapping\Form

Code

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