You are here

public function EmailConfirmationInterface::setResponseUrl in Email confirmer 8

Set a URL to go on confirmation response.

Parameters

\Drupal\Core\Url $url: The URL to go.

string $operation: One of 'confirm', 'cancel' or 'error'. Empty to set for all operations.

Return value

\Drupal\email_confirmer\EmailConfirmationInterface The called email confirmation entity.

1 method overrides EmailConfirmationInterface::setResponseUrl()
EmailConfirmation::setResponseUrl in src/Entity/EmailConfirmation.php
Set a URL to go on confirmation response.

File

src/EmailConfirmationInterface.php, line 322

Class

EmailConfirmationInterface
Email confirmation interface.

Namespace

Drupal\email_confirmer

Code

public function setResponseUrl(Url $url, $operation = NULL);