public function Pet::getTitle in Previewable email templates 8
Same name and namespace in other branches
- 8.4 src/Entity/Pet.php \Drupal\pet\Entity\Pet::getTitle()
- 8.3 src/Entity/Pet.php \Drupal\pet\Entity\Pet::getTitle()
Returns the template title.
Return value
string Title of the template.
Overrides PetInterface::getTitle
File
- src/
Entity/ Pet.php, line 282
Class
- Pet
- Defines pet entity class.
Namespace
Drupal\pet\EntityCode
public function getTitle() {
return $this
->get('title')->value;
}