You are here

public function CustomTipsDeleteForm::getCancelUrl in BeautyTips 8

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

beautytips_manager/src/Form/CustomTipsDeleteForm.php, line 31

Class

CustomTipsDeleteForm

Namespace

Drupal\beautytips_manager\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('beautytips_manager.customTips');
}