You are here

public function Pet::setRecipientCallback in Previewable email templates 8

Same name and namespace in other branches
  1. 8.4 src/Entity/Pet.php \Drupal\pet\Entity\Pet::setRecipientCallback()
  2. 8.3 src/Entity/Pet.php \Drupal\pet\Entity\Pet::setRecipientCallback()

Overrides PetInterface::setRecipientCallback

File

src/Entity/Pet.php, line 379

Class

Pet
Defines pet entity class.

Namespace

Drupal\pet\Entity

Code

public function setRecipientCallback($recipient_callback) {
  $this
    ->set('recipient_callback', $recipient_callback);
  return $this;
}