You are here

public function LogActionFormBase::getCancelUrl in Log entity 2.x

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to LogActionFormBase::getCancelUrl()
LogActionFormBase::submitForm in src/Form/LogActionFormBase.php
Form submission handler.

File

src/Form/LogActionFormBase.php, line 89

Class

LogActionFormBase
Base form class for configurable actions.

Namespace

Drupal\log\Form

Code

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