You are here

public function RemoveTeamMemberForm::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

1 call to RemoveTeamMemberForm::getCancelUrl()
RemoveTeamMemberForm::validateForm in modules/apigee_edge_teams/src/Form/RemoveTeamMemberForm.php
Form validation handler.

File

modules/apigee_edge_teams/src/Form/RemoveTeamMemberForm.php, line 125

Class

RemoveTeamMemberForm
Remove team members from.

Namespace

Drupal\apigee_edge_teams\Form

Code

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