You are here

public function MappedObjectDeleteForm::getCancelUrl in Salesforce Suite 8.3

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

Overrides ConfirmFormInterface::getCancelUrl

File

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

Class

MappedObjectDeleteForm
Provides a form for deleting a salesforce_mapped_oject entity.

Namespace

Drupal\salesforce_mapping\Form

Code

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