You are here

public function FacConfigDisableConfirmForm::getCancelUrl in Fast Autocomplete 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

src/Form/FacConfigDisableConfirmForm.php, line 60

Class

FacConfigDisableConfirmForm
Defines a confirm form for disabling an index.

Namespace

Drupal\fac\Form

Code

public function getCancelUrl() {
  return new Url('entity.fac_config.collection');
}