ConfigTranslationDeleteForm::getCancelUrl

public ConfigTranslationDeleteForm::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/config_translation/src/Form/ConfigTranslationDeleteForm.php, line 100

Class

ConfigTranslationDeleteForm
Builds a form to delete configuration translation.

Namespace

Drupal\config_translation\Form

Code

public function getCancelUrl() {
  return new Url($this->mapper->getOverviewRouteName(), $this->mapper->getOverviewRouteParameters());
}
doc_Drupal
2016-10-29 08:54:46
Comments
Leave a Comment

Please login to continue.