ActionDeleteForm::getCancelUrl

public ActionDeleteForm::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/action/src/Form/ActionDeleteForm.php, line 16

Class

ActionDeleteForm
Builds a form to delete an action.

Namespace

Drupal\action\Form

Code

public function getCancelUrl() {
  return new Url('entity.action.collection');
}
doc_Drupal
2016-10-29 08:43:15
Comments
Leave a Comment

Please login to continue.