FilterDisableForm::getCancelUrl

public FilterDisableForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

core/modules/filter/src/Form/FilterDisableForm.php, line 24

Class

FilterDisableForm
Provides the filter format disable form.

Namespace

Drupal\filter\Form

Code

public function getCancelUrl() {
  return new Url('filter.admin_overview');
}
doc_Drupal
2016-10-29 09:14:26
Comments
Leave a Comment

Please login to continue.