You are here

public function CustomStylesDeleteForm::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/CustomStylesDeleteForm.php, line 32

Class

CustomStylesDeleteForm

Namespace

Drupal\beautytips_manager\Form

Code

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