You are here

protected function TeamAppDeleteForm::getRedirectUrl in Apigee Edge 8

Returns the URL where the user should be redirected after deletion.

Return value

\Drupal\Core\Url The redirect URL.

Overrides EntityDeleteFormTrait::getRedirectUrl

File

modules/apigee_edge_teams/src/Entity/Form/TeamAppDeleteForm.php, line 32

Class

TeamAppDeleteForm
Dedicated form handler that allows a developer to delete a team app.

Namespace

Drupal\apigee_edge_teams\Entity\Form

Code

protected function getRedirectUrl() {
  $entity = $this
    ->getEntity();
  return $entity
    ->toUrl('collection-by-team');
}