public function PetInterface::setTitle in Previewable email templates 8.3
Set the Pet title.
Parameters
string $title: Title.
Return value
\Drupal\pet\Entity\PetInterface Pet entity.
1 method overrides PetInterface::setTitle()
- Pet::setTitle in src/
Entity/ Pet.php - Set the Pet title.
File
- src/
Entity/ PetInterface.php, line 136
Class
- PetInterface
- Provides an interface for defining Pet entities.
Namespace
Drupal\pet\EntityCode
public function setTitle($title);