You are here

public function EmailConfirmationInterface::setIp in Email confirmer 8

Sets the IP address associated with this confirmation process.

Parameters

string $ip: The IP address.

Return value

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

Throws

\InvalidArgumentException If the given value is not a valid IP address.

1 method overrides EmailConfirmationInterface::setIp()
EmailConfirmation::setIp in src/Entity/EmailConfirmation.php
Sets the IP address associated with this confirmation process.

File

src/EmailConfirmationInterface.php, line 237

Class

EmailConfirmationInterface
Email confirmation interface.

Namespace

Drupal\email_confirmer

Code

public function setIp($ip);