BlockDeleteForm::getCancelUrl

public BlockDeleteForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides EntityDeleteFormTrait::getCancelUrl

File

core/modules/block/src/Form/BlockDeleteForm.php, line 16

Class

BlockDeleteForm
Provides a deletion confirmation form for the block instance deletion form.

Namespace

Drupal\block\Form

Code

public function getCancelUrl() {
  return new Url('block.admin_display');
}
doc_Drupal
2016-10-29 08:47:24
Comments
Leave a Comment

Please login to continue.