You are here

public function MappedObjectDeleteForm::getCancelUrl in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x modules/salesforce_mapping_ui/src/Form/MappedObjectDeleteForm.php \Drupal\salesforce_mapping_ui\Form\MappedObjectDeleteForm::getCancelUrl()

If the delete command is canceled, return to the contact list.

Overrides ConfirmFormInterface::getCancelUrl

File

modules/salesforce_mapping_ui/src/Form/MappedObjectDeleteForm.php, line 29

Class

MappedObjectDeleteForm
Provides a form for deleting a salesforce_mapped_oject entity.

Namespace

Drupal\salesforce_mapping_ui\Form

Code

public function getCancelUrl() {
  return $this
    ->getEntity()
    ->toUrl();
}