You are here

public function BrightcoveSubscriptionDeleteForm::getCancelUrl in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Form/BrightcoveSubscriptionDeleteForm.php \Drupal\brightcove\Form\BrightcoveSubscriptionDeleteForm::getCancelUrl()
  2. 3.x src/Form/BrightcoveSubscriptionDeleteForm.php \Drupal\brightcove\Form\BrightcoveSubscriptionDeleteForm::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

src/Form/BrightcoveSubscriptionDeleteForm.php, line 54

Class

BrightcoveSubscriptionDeleteForm
Builds the form for Brightcove Subscription delete.

Namespace

Drupal\brightcove\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('entity.brightcove_subscription.list');
}