interface EmailTokenEvaluatorInterface in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Service/EmailTokenEvaluatorInterface.php \Drupal\easy_email\Service\EmailTokenEvaluatorInterface
Hierarchy
- interface \Drupal\easy_email\Service\EmailTokenEvaluatorInterface
Expanded class hierarchy of EmailTokenEvaluatorInterface
All classes that implement EmailTokenEvaluatorInterface
File
- src/
Service/ EmailTokenEvaluatorInterface.php, line 8
Namespace
Drupal\easy_email\ServiceView source
interface EmailTokenEvaluatorInterface {
/**
* Evaluate the tokens in entity email fields.
*
* @param \Drupal\easy_email\Entity\EasyEmailInterface $email
*/
public function evaluateTokens(EasyEmailInterface $email);
/**
* @param \Drupal\easy_email\Entity\EasyEmailInterface $email
* @param array|string $values
* @param bool $unique
*
* @return array|string
*/
public function replaceTokens(EasyEmailInterface $email, $values, $unique = FALSE);
/**
* @param \Drupal\easy_email\Entity\EasyEmailInterface $email
*
* @return bool
*/
public function containsUnsafeTokens(EasyEmailInterface $email);
/**
* @param string $text
* @param \Drupal\Core\Session\AccountInterface $recipient
*
* @return string
*/
public function replaceUnsafeTokens($text, AccountInterface $recipient);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EmailTokenEvaluatorInterface:: |
public | function | 1 | |
EmailTokenEvaluatorInterface:: |
public | function | Evaluate the tokens in entity email fields. | 1 |
EmailTokenEvaluatorInterface:: |
public | function | 1 | |
EmailTokenEvaluatorInterface:: |
public | function | 1 |