You are here

public function TeamInvitationFormBase::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 ConfirmFormInterface::getCancelUrl

File

modules/apigee_edge_teams/src/Entity/Form/TeamInvitationFormBase.php, line 56

Class

TeamInvitationFormBase
Provides a base class for updating status for a team_invitation.

Namespace

Drupal\apigee_edge_teams\Entity\Form

Code

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