You are here

public function EmailConfirmationInterface::setPrivate in Email confirmer 8

Mark the confirmation as private.

A private confirmation can only be replied by their owner or by email confirmation administrators. It has no effect on confirmations owned by the anonymous user.

Parameters

bool $private: The new private status. TRUE when no given argument.

Return value

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

1 method overrides EmailConfirmationInterface::setPrivate()
EmailConfirmation::setPrivate in src/Entity/EmailConfirmation.php
Mark the confirmation as private.

File

src/EmailConfirmationInterface.php, line 104

Class

EmailConfirmationInterface
Email confirmation interface.

Namespace

Drupal\email_confirmer

Code

public function setPrivate($private = TRUE);