public function Pet::getTitle in Previewable email templates 8.3
Same name and namespace in other branches
- 8.4 src/Entity/Pet.php \Drupal\pet\Entity\Pet::getTitle()
- 8 src/Entity/Pet.php \Drupal\pet\Entity\Pet::getTitle()
Get the Pet title.
Return value
string Pet title.
Overrides PetInterface::getTitle
1 call to Pet::getTitle()
- Pet::sendSingleMail in src/
Entity/ Pet.php - Send PET to single recipient.
File
- src/
Entity/ Pet.php, line 578
Class
- Pet
- Defines the pet entity.
Namespace
Drupal\pet\EntityCode
public function getTitle() {
return $this
->get('title')->value;
}