public function EmailConfirmation::isPending in Email confirmer 8
Returns if the confirmation is in a proper status to get response.
Return value
bool TRUE if the confirmation can be responded, FALSE otherwise.
Overrides EmailConfirmationInterface::isPending
File
- src/
Entity/ EmailConfirmation.php, line 174
Class
- EmailConfirmation
- Defines the email confirmation entity class.
Namespace
Drupal\email_confirmer\EntityCode
public function isPending() {
return !$this
->isExpired() && !$this
->isCancelled() && !$this
->isConfirmed();
}