You are here

public function TeamInvitationDeleteForm::getCancelUrl in Apigee Edge 8

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

Return value

\Drupal\Core\Url A URL object.

Overrides ContentEntityDeleteForm::getCancelUrl

File

modules/apigee_edge_teams/src/Entity/Form/TeamInvitationDeleteForm.php, line 52

Class

TeamInvitationDeleteForm
Provides the delete form for team_invitation.

Namespace

Drupal\apigee_edge_teams\Entity\Form

Code

public function getCancelUrl() {
  return $this->team
    ->toUrl('members');
}