You are here

public function EmailConfirmation::getRealm in Email confirmer 8

Returns the realm to which this confirmation belongs.

Return value

string The realm.

Overrides EmailConfirmationInterface::getRealm

File

src/Entity/EmailConfirmation.php, line 335

Class

EmailConfirmation
Defines the email confirmation entity class.

Namespace

Drupal\email_confirmer\Entity

Code

public function getRealm() {
  return $this
    ->get('realm')
    ->getString();
}